From a78ee2126934389c3ca2b0d9c2176630ce7ed4ef Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 14 Jan 2001 18:44:03 +0000 Subject: [PATCH] Moved #include to conf.h. --- lib/conf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/conf.h b/lib/conf.h index c94f1ad0..d2a56af5 100644 --- a/lib/conf.h +++ b/lib/conf.h @@ -4,6 +4,8 @@ * (c) 2001 Robert Spalek */ +#include + /* * Every module places its configuration setting into some section. Section is * an array of cfitem, whose first record is of type CT_SECTION and contains @@ -42,6 +44,7 @@ void cf_read(byte *filename); #define CF_LONG_OPTS \ {"set", 1, 0, 'S'},\ {"config", 1, 0, 'C'}, +#define CF_NO_LONG_OPTS (const struct option []){ CF_LONG_OPTS { NULL, 0, 0, 0 } } int cf_getopt(int argc,char * const argv[], const char *shortopts,const struct option *longopts, -- 2.39.2