summaryrefslogtreecommitdiff
path: root/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'getopt.h')
-rw-r--r--getopt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/getopt.h b/getopt.h
index 6f197aabd5..e84e117527 100644
--- a/getopt.h
+++ b/getopt.h
@@ -1,9 +1,9 @@
/* Borrowed from Apache NT Port */
#include "php.h"
-extern char *optarg;
-extern int optind;
+PHPAPI extern char *optarg;
+PHPAPI extern int optind;
extern int opterr;
extern int optopt;
-extern int getopt(int argc, char* const *argv, const char *optstr);
+PHPAPI int getopt(int argc, char* const *argv, const char *optstr);