diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-04-02 13:19:42 +0200 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2017-04-02 13:19:42 +0200 |
commit | d7cb70a0ede448b8f66f8b1c80fbc48b54716767 (patch) | |
tree | d6c7a54289dbcc9bd664e3821d2ffeb2da89cf2c /test/main.c | |
parent | 751c6d6fe950c7bebab9b423e45c4194a64eb9e1 (diff) |
test: fix for getopt on solaris
Diffstat (limited to 'test/main.c')
-rw-r--r-- | test/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/main.c b/test/main.c index 6c3f8c9..057da2d 100644 --- a/test/main.c +++ b/test/main.c @@ -3,6 +3,9 @@ * * Copyright (C) 2010 Creytiv.com */ +#ifdef SOLARIS +#define __EXTENSIONS__ 1 +#endif #include <getopt.h> #include <re.h> #include <baresip.h> |