diff options
Diffstat (limited to 'config.h.in')
-rw-r--r-- | config.h.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in index 04dd043d9..b77d31454 100644 --- a/config.h.in +++ b/config.h.in @@ -37,6 +37,8 @@ #cmakedefine HAVE_LIBUTIL_H 1 +#cmakedefine HAVE_LIBGEN_H 1 + #cmakedefine HAVE_ENDIAN_H 1 #cmakedefine HAVE_SYS_ENDIAN_H 1 #cmakedefine HAVE_MACHINE_ENDIAN_H 1 @@ -192,14 +194,21 @@ #include <math.h> #endif +/* libutil */ #ifdef HAVE_LIBUTIL_H #include <libutil.h> #endif +/* syslog */ #ifdef HAVE_SYSLOG_H #include <syslog.h> #endif +#ifdef HAVE_LIBGEN_H +#include <libgen.h> +#define HAVE_DIRNAME 1 +#endif + #include <errno.h> #include <signal.h> #include <event.h> |