diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-03-26 23:51:31 +0800 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-03-26 23:51:31 +0800 |
commit | 01fd5cb3f0da802ca82d3b6aef46d2a3d8e6c15c (patch) | |
tree | 785e3187cb1092529981dedd2c3847300f84264b | |
parent | cc6313cc697f4c90cf0fc1c5b01cb1871a075f26 (diff) |
only include strings.h if it is actually preent
-rw-r--r-- | src/logging.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/logging.c b/src/logging.c index 2a132eb5..ea03d303 100644 --- a/src/logging.c +++ b/src/logging.c @@ -20,11 +20,16 @@ * */ +#include "../config.h" + #include <stdarg.h> #include <stdlib.h> #include <stdio.h> #include <string.h> + +#ifdef HAVE_STRINGS_H #include <strings.h> +#endif #include <time.h> #include <errno.h> |