summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h121
1 files changed, 2 insertions, 119 deletions
diff --git a/config.h b/config.h
index c0127df..8f01987 100644
--- a/config.h
+++ b/config.h
@@ -20,125 +20,8 @@
/* Must be included before we include any system headers! */
#include "aconfig.h" /* autogenerated configuration header */
-/* Standard includes */
-
-#include <stdio.h>
-
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
-
-#ifdef STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#else
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#endif
-
-#ifdef HAVE_MEMORY_H
-#ifndef STDC_HEADERS
-#include <memory.h>
-#endif
-#endif
-
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-
-#ifdef HAVE_STRINGS_H
-#include <strings.h>
-#endif
-
-#ifdef HAVE_INTTYPES_H
-#ifdef INTTYPES_H_IS_SANE
-#include <inttypes.h>
-#endif
-#else
-#ifdef HAVE_STDINT_H
-#include <stdint.h>
-#endif
-#endif
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#ifdef HAVE_SETJMP_H
-#include <setjmp.h>
-#endif
-
-#ifdef TIME_WITH_SYS_TIME
-#include <sys/time.h>
-#include <time.h>
-#else
-#if HAVE_SYS_TIME_H
-#include <sys/time.h>
-#else
-#include <time.h>
-#endif
-#endif
-
-#ifdef HAVE_GRP_H
-#include <grp.h>
-#endif
-
-#ifdef HAVE_FCNTL_H
-#include <fcntl.h>
-#endif
-
-#include <errno.h>
-#include <signal.h>
-
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#else
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#else
-#ifdef HAVE_WINSOCK_H
-#include <winsock.h>
-#endif
-#endif
-#endif
-#ifdef HAVE_NETDB_H
-#include <netdb.h>
-#endif
-
-#ifdef HAVE_GETOPT_LONG
-#include <getopt.h>
-#else
-#include "lib/getopt.h"
-#endif
-
-#ifdef HAVE_SYS_CAPABILITY_H
-#include <sys/capability.h>
-#endif
-
-/* A lot of this is old BSD code. Some newer systems don't approve. */
-
-/* The type used by htons(), ntohs() */
-#ifndef HAVE_U_SHORT
-#ifdef HAVE_UINT16_T
-typedef uint16_t u_short;
-#else
-typedef unsigned short u_short;
-#endif
-#endif
-
-/* The type used to htonl(), ntohl() */
-#ifndef HAVE_U_LONG
-#ifdef HAVE_UINT32_T
-typedef uint32_t u_long;
-#else
-typedef unsigned long u_long;
-#endif
-#endif
+/* Standard include files */
+#include "xconfig.h"
/* socklen_t */
#ifndef HAVE_SOCKLEN_T