The header stdlib.h is always present since we are compiling with standard C.
There is no need for this check, since it will always evaluate to true.
12 files changed:
#include "config.h"
#include "dot2l.h"
-#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
-
+#include <stdlib.h>
#include <string.h>
static char portstr[SMALLBUF];
extern void qsort ();
#endif /* defined (SVR4) || defined (SYSV) || defined (USG) */
-#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
#include "SFDecls.h"
extern void qsort ();
#endif /* defined (SVR4) || defined (SYSV) || defined (USG) */
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#include "SFDecls.h"
extern char *getwd (char *);
#endif /* !defined (SVR4) && !defined (SYSV) && !defined (USG) */
-#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#include "config.h"
#include <stdio.h>
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#include <string.h>
#include "cgraph.h"
hdr stdbool
hdr stddef
hdr stdint
-hdr stdlib
hdr string
hdr strings
hdr termios
endif
link{
- #if HAVE_STDLIB_H
#include <stdlib.h>
- #endif
#if HAVE_STDINT_H
#include <stdint.h>
#endif
dnl Checks for header files
# AC_HEADER_STDC
-AC_CHECK_HEADERS(stdarg.h stddef.h stddef.h stdlib.h stdint.h malloc.h \
+AC_CHECK_HEADERS(stdarg.h stddef.h stddef.h stdint.h malloc.h \
fcntl.h search.h pthread.h values.h float.h limits.h termios.h \
errno.h time.h unistd.h fenv.h string.h strings.h inttypes.h setjmp.h \
sys/time.h sys/times.h sys/types.h sys/select.h fpu_control.h \
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#ifdef HAVE_STDLIB_H
#if !defined(WIN32) && !defined(DARWIN)
#define __USE_GNU
#include <stdlib.h>
#else
#include <stdlib.h>
#endif
-#endif
#ifdef HAVE_STDDEF_H
#include <stddef.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#include <time.h>
#ifndef WIN32
#include <unistd.h>
#include "config.h"
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif
#include "dot2l.h"
-#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-#endif
+#include <stdlib.h>
#include <string.h>
static char portstr[SMALLBUF];
/* Define to 1 if you have the <stdint.h> header file. */
//#define HAVE_STDINT_H 1
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
/* Define to 1 if you have the `strcasecmp' function. */
//#define HAVE_STRCASECMP 1