summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-24 12:18:56 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-24 12:18:56 +0000
commit66876060fea57a317535fe869a95a0721d03acc0 (patch)
tree2963f22d9c73cc103e1779d6378577bedd3e272f
parentf9e66df9c75ae60a3402967a057c0022a0449747 (diff)
downloadsamba-66876060fea57a317535fe869a95a0721d03acc0.tar.gz
samba-66876060fea57a317535fe869a95a0721d03acc0.tar.bz2
samba-66876060fea57a317535fe869a95a0721d03acc0.zip
Define POPT_TABLEEND if current popt.h doesn't contain it already
(This used to be commit de4bdf42d8f27b54260f58ff37d438c67623f446)
-rw-r--r--source3/include/popt_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/popt_common.h b/source3/include/popt_common.h
index 7cdbc98862..380df4860e 100644
--- a/source3/include/popt_common.h
+++ b/source3/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 },