From: Martin Mares Date: Sun, 14 Jan 2001 18:44:03 +0000 (+0000) Subject: Moved #include to conf.h. X-Git-Tag: holmes-import~1598 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=a78ee2126934389c3ca2b0d9c2176630ce7ed4ef;p=libucw.git Moved #include to conf.h. --- 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,