mirror of
https://github.com/curl/curl.git
synced 2026-07-25 19:37:17 +03:00
Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files
since they're already included through "setup.h".
This commit is contained in:
parent
e2f0580dfe
commit
c514a2a89a
31 changed files with 18 additions and 144 deletions
14
lib/ssh.c
14
lib/ssh.c
|
|
@ -44,24 +44,14 @@
|
|||
#include <fcntl.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#else /* probably some kind of unix */
|
||||
#ifndef WIN32
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
|
@ -78,7 +68,7 @@
|
|||
#include <in.h>
|
||||
#include <inet.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif /* !WIN32 */
|
||||
|
||||
#if (defined(NETWARE) && defined(__NOVELL_LIBC__))
|
||||
#undef in_addr_t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue