clean up sysincl.h
This commit is contained in:
parent
4bc6950632
commit
c075c070f0
1 changed files with 0 additions and 16 deletions
16
sysincl.h
16
sysincl.h
|
@ -29,20 +29,12 @@
|
||||||
#ifndef GOT_SYSINCL_H
|
#ifndef GOT_SYSINCL_H
|
||||||
#define GOT_SYSINCL_H
|
#define GOT_SYSINCL_H
|
||||||
|
|
||||||
#if defined (SOLARIS) || defined(SUNOS) || defined(LINUX) || defined(NETBSD) || defined (MACOSX)
|
|
||||||
|
|
||||||
#if !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(MACOSX)
|
|
||||||
#include <alloca.h>
|
|
||||||
#endif
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
#if !defined(__FreeBSD__) && !defined(MACOSX)
|
|
||||||
#include <malloc.h>
|
|
||||||
#endif
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
@ -78,17 +70,9 @@
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef FEAT_IPV6
|
#ifdef FEAT_IPV6
|
||||||
/* For inet_ntop() */
|
/* For inet_ntop() */
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (SOLARIS) || defined(SUNOS)
|
|
||||||
/* Only needed on these platforms, and doesn't exist on some Linux
|
|
||||||
versions. */
|
|
||||||
#include <nlist.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* GOT_SYSINCL_H */
|
#endif /* GOT_SYSINCL_H */
|
||||||
|
|
Loading…
Reference in a new issue