summaryrefslogtreecommitdiff
path: root/soltools/cpp/_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'soltools/cpp/_unix.c')
-rw-r--r--soltools/cpp/_unix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c
index e5f9eab781dd..d1cd20880e1d 100644
--- a/soltools/cpp/_unix.c
+++ b/soltools/cpp/_unix.c
@@ -32,9 +32,7 @@
#include "cpp.h"
#if defined MACOSX || defined AIX || defined WNT
-extern int stgetopt(int, char *const *, const char *);
-extern char *optarg;
-extern int optind;
+#include <_getopt.h>
#else
#include <getopt.h>
#endif