]> git.sur5r.net Git - openldap/commitdiff
Add getopt-compat.h
authorKurt Zeilenga <kurt@openldap.org>
Tue, 20 Oct 1998 20:34:55 +0000 (20:34 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 20 Oct 1998 20:34:55 +0000 (20:34 +0000)
include/getopt-compat.h [new file with mode: 0644]

diff --git a/include/getopt-compat.h b/include/getopt-compat.h
new file mode 100644 (file)
index 0000000..b82dc9f
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+ * getopt(3) declarations
+ */
+#ifndef _GETOPT_COMPAT_H
+#define _GETOPT_COMPAT_H
+
+#include <ldap_cdefs.h>
+
+extern char *optarg;
+extern int optind, opterr, optopt;
+
+LDAP_F int getopt LDAP_P((int, char * const [], const char *));
+
+#endif /* _GETOPT_COMPAT_H */