forked from mirrors/tftp-hpa-google
autoconf: remove workarounds for some very old systems
Remove workarounds for some ridiculously old systems; these workarounds are basically untestable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
e83d71d394
commit
9c0908a778
2 changed files with 13 additions and 72 deletions
31
config.h
31
config.h
|
@ -30,6 +30,10 @@
|
|||
/* Standard includes */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
|
@ -39,21 +43,6 @@
|
|||
#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
|
||||
|
@ -80,15 +69,8 @@
|
|||
#include <setjmp.h>
|
||||
#endif
|
||||
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#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
|
||||
|
@ -99,9 +81,6 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue