Replaced #if HAVE_X with #ifdef HAVE_X as the former test is troublemaker with #define HAVE_X where #define HAVE_X 1|0 is meant.

This commit is contained in:
Mateusz Loskot
2012-05-21 23:22:36 +01:00
parent 1abaaee658
commit a6f39a3c0c
5 changed files with 33 additions and 14 deletions

View File

@@ -11,12 +11,12 @@
#include "config.h"
#if STDC_HEADERS
#ifdef STDC_HEADERS
# include <stdlib.h>
# include <string.h>
#endif /* STDC_HEADERS */
#if defined HAVE_STRINGS_H && !defined _STRING_H && !defined __USE_BSD
#if defined(HAVE_STRINGS_H) && !defined(_STRING_H) && !defined(__USE_BSD)
# include <strings.h>
#endif /* HAVE_STRINGS_H */