From: Kurt Zeilenga Date: Tue, 20 Oct 1998 20:34:55 +0000 (+0000) Subject: Add getopt-compat.h X-Git-Tag: PHP3_TOOL_0_0~18^2~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9c58b13dd4ed7adf93a3e134ade2e75867bd3a20;p=openldap Add getopt-compat.h --- diff --git a/include/getopt-compat.h b/include/getopt-compat.h new file mode 100644 index 0000000000..b82dc9fd8c --- /dev/null +++ b/include/getopt-compat.h @@ -0,0 +1,14 @@ +/* + * getopt(3) declarations + */ +#ifndef _GETOPT_COMPAT_H +#define _GETOPT_COMPAT_H + +#include + +extern char *optarg; +extern int optind, opterr, optopt; + +LDAP_F int getopt LDAP_P((int, char * const [], const char *)); + +#endif /* _GETOPT_COMPAT_H */