]> git.sesse.net Git - betaftpd/blobdiff - ftpd.c
get_num_files(): Fixed a memory leak (thanks, mtrace ;-) ).
[betaftpd] / ftpd.c
diff --git a/ftpd.c b/ftpd.c
index 3982a74e2d4812a1f42ccafd345995f55a1ceb1a..b35a9a04b1509d638204dd34061ba87c41420a6f 100644 (file)
--- a/ftpd.c
+++ b/ftpd.c
 #include <linux/socket.h>
 #endif
 
+#if HAVE_LINUX_TCP_H
+#include <linux/tcp.h>
+#endif
+
 #if HAVE_MMAP
 #include <sys/mman.h>
 #endif