From 66876060fea57a317535fe869a95a0721d03acc0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 24 Mar 2003 12:18:56 +0000 Subject: Define POPT_TABLEEND if current popt.h doesn't contain it already (This used to be commit de4bdf42d8f27b54260f58ff37d438c67623f446) --- source3/include/popt_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source3/include/popt_common.h b/source3/include/popt_common.h index 7cdbc988623..380df4860e5 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 }, -- cgit