git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f3fba
)
Define POPT_TABLEEND if current popt.h doesn't contain it already
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 24 Mar 2003 12:18:56 +0000
(12:18 +0000)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 24 Mar 2003 12:18:56 +0000
(12:18 +0000)
source/include/popt_common.h
patch
|
blob
|
history
diff --git
a/source/include/popt_common.h
b/source/include/popt_common.h
index 7cdbc9886232cfb2c2b5f2c0ea59f19809c8072f..380df4860e54e9694d91305f8ae385a0b4b6c215 100644
(file)
--- a/
source/include/popt_common.h
+++ b/
source/include/popt_common.h
@@
-25,6
+25,10
@@
extern struct poptOption popt_common_samba[];
extern struct poptOption popt_common_credentials[];
+#ifndef POPT_TABLEEND
+#define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
+#endif
+
#define POPT_COMMON_SAMBA { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_samba, 0, "Common samba options:", NULL },
#define POPT_CREDENTIALS { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_credentials, 0, "Authentication options:", NULL },