From ec51b04a89f222d0a5504687dbc4d1d070a19398 Mon Sep 17 00:00:00 2001 From: oni-link Date: Tue, 1 Apr 2014 13:18:50 +0200 Subject: remove HAVE_STRING_H --- config/config.h.in | 1 - src/os_unix_defs.h | 2 -- src/os_unixx.h | 2 -- 3 files changed, 5 deletions(-) diff --git a/config/config.h.in b/config/config.h.in index 5ec578136f..2d6f39bd52 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -61,7 +61,6 @@ #define HAVE_SIGVEC 1 #define HAVE_ST_BLKSIZE 1 #define HAVE_STRCASECMP 1 -#define HAVE_STRING_H 1 #define HAVE_STRINGS_H 1 #define HAVE_STRNCASECMP 1 // TODO: add proper cmake check diff --git a/src/os_unix_defs.h b/src/os_unix_defs.h index 4545ddd77d..fd7bc66def 100644 --- a/src/os_unix_defs.h +++ b/src/os_unix_defs.h @@ -274,9 +274,7 @@ /* Note: Some systems need both string.h and strings.h (Savage). However, * some systems can't handle both, only use string.h in that case. */ -#ifdef HAVE_STRING_H # include -#endif #if defined(HAVE_STRINGS_H) && !defined(NO_STRINGS_WITH_STRING_H) # include #endif diff --git a/src/os_unixx.h b/src/os_unixx.h index e07d2bae67..1c9c8d8bae 100644 --- a/src/os_unixx.h +++ b/src/os_unixx.h @@ -52,9 +52,7 @@ #endif #endif -#ifdef HAVE_STRING_H # include -#endif #ifdef HAVE_SYS_STREAM_H # include -- cgit