From 9c58b13dd4ed7adf93a3e134ade2e75867bd3a20 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 20 Oct 1998 20:34:55 +0000 Subject: [PATCH] Add getopt-compat.h --- include/getopt-compat.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 include/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 */ -- 2.39.5