summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/tests/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/netapi/tests/common.h')
-rw-r--r--source3/lib/netapi/tests/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/netapi/tests/common.h b/source3/lib/netapi/tests/common.h
index 7e05aaf657..fcbdad14b7 100644
--- a/source3/lib/netapi/tests/common.h
+++ b/source3/lib/netapi/tests/common.h
@@ -28,6 +28,10 @@ extern struct poptOption popt_common_netapi_examples[];
#define POPT_COMMON_LIBNETAPI_EXAMPLES { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_netapi_examples, 0, "Common samba netapi example options:", NULL },
+#ifndef POPT_TABLEEND
+#define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
+#endif
+
NET_API_STATUS test_netuseradd(const char *hostname,
const char *username);