Commit c514a2a8 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files

since they're already included through "setup.h".
parent e2f0580d
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -28,9 +28,6 @@
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
@@ -59,9 +56,9 @@
#include <arpa/inet.h>
#endif
#ifdef HAVE_STDLIB_H
#include <stdlib.h> /* required for free() prototype, without it, this crashes
                       on macos 68K */
#endif
#include <stdlib.h> /* required for free() prototype, without it, this crashes */
#endif              /* on macos 68K */

#if (defined(HAVE_FIONBIO) && defined(__NOVELL_LIBC__))
#include <sys/filio.h>
#endif
@@ -74,7 +71,8 @@
#include <inet.h>
#endif

#endif
#endif  /* !WIN32 */

#include <stdio.h>
#include <errno.h>
#include <string.h>
+0 −6
Original line number Diff line number Diff line
@@ -31,12 +31,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif

#ifdef WIN32
#include <time.h>
+0 −7
Original line number Diff line number Diff line
@@ -29,13 +29,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif

#include <errno.h>

#include "strequal.h"
+0 −6
Original line number Diff line number Diff line
@@ -30,12 +30,6 @@
#include <stdarg.h>
#include <stdlib.h>
#include <ctype.h>
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif

#ifdef WIN32
#include <time.h>
+0 −3
Original line number Diff line number Diff line
@@ -112,9 +112,6 @@ Content-Disposition: form-data; name="FILECONTENT"
#include <string.h>
#include <stdarg.h>
#include <time.h>
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#if defined(HAVE_LIBGEN_H) && defined(HAVE_BASENAME)
#include <libgen.h>
#endif
Loading