mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Add getopt-compat.h
This commit is contained in:
parent
f6598a69e7
commit
9c58b13dd4
14
include/getopt-compat.h
Normal file
14
include/getopt-compat.h
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user