summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
committerwollman <wollman@FreeBSD.org>2000-10-10 01:50:26 +0000
commitc5c43ce91fc476c67d622b0ca48e8e25ca653ff6 (patch)
tree6a86f0286158b145d4f10cd2c3b154f913998b9d /libexec/ftpd
parent62118ce6963d049326bd94cead782dfd91c67b48 (diff)
downloadFreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.zip
FreeBSD-src-c5c43ce91fc476c67d622b0ca48e8e25ca653ff6.tar.gz
Don't depend on <sys/stat.h> bogusly including <sys/time.h> (and thereby
<time.h>).
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index f4a40aa..0035051 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -51,11 +51,12 @@ static const char rcsid[] =
* FTP server.
*/
#include <sys/param.h>
-#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <sys/mman.h>
#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/wait.h>
-#include <sys/mman.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
OpenPOWER on IntegriCloud