diff options
Diffstat (limited to 'Demo/pysvr')
-rw-r--r-- | Demo/pysvr/pysvr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Demo/pysvr/pysvr.c b/Demo/pysvr/pysvr.c index d7d755c..99d7b07 100644 --- a/Demo/pysvr/pysvr.c +++ b/Demo/pysvr/pysvr.c @@ -19,6 +19,7 @@ can log in on your machine. Use with caution! #include <netinet/in.h> #include <pthread.h> +#include <getopt.h> /* XXX Umpfh. Python.h defines a typedef destructor, which conflicts with pthread.h. @@ -32,10 +33,6 @@ extern int Py_VerboseFlag; #define PORT 4000 #endif -extern int optind; -extern char *optarg; -extern int getopt(int, char **, char *); - struct workorder { int conn; struct sockaddr_in addr; |