summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-03-15 17:26:21 +0100
committerMichael Adam <obnox@samba.org>2009-03-17 15:47:20 +0100
commita23719babb7fd117ed2d4d2355748d00e415d561 (patch)
treec48ab526c5d31fc662cca3816dc626a8b5c24da5 /source4
parente89e739e22c5c3ac88f7290fb98c678c3846b755 (diff)
downloadsamba-a23719babb7fd117ed2d4d2355748d00e415d561.tar.gz
samba-a23719babb7fd117ed2d4d2355748d00e415d561.tar.bz2
samba-a23719babb7fd117ed2d4d2355748d00e415d561.zip
fix build on sles8 and other old popt installations
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/cmdline/popt_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/cmdline/popt_common.h b/source4/lib/cmdline/popt_common.h
index 733d12a443..2f4ab2c178 100644
--- a/source4/lib/cmdline/popt_common.h
+++ b/source4/lib/cmdline/popt_common.h
@@ -28,6 +28,10 @@ extern struct poptOption popt_common_connection[];
extern struct poptOption popt_common_version[];
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_COMMON_CONNECTION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_connection, 0, "Connection options:", NULL },
#define POPT_COMMON_VERSION { NULL, 0, POPT_ARG_INCLUDE_TABLE, popt_common_version, 0, "Common samba options:", NULL },