summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-04-02 13:19:42 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-04-02 13:19:42 +0200
commitd7cb70a0ede448b8f66f8b1c80fbc48b54716767 (patch)
treed6c7a54289dbcc9bd664e3821d2ffeb2da89cf2c
parent751c6d6fe950c7bebab9b423e45c4194a64eb9e1 (diff)
test: fix for getopt on solaris
-rw-r--r--test/main.c3
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>