summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 },