freebsd-ports/audio/icecast2/files/patch-src::connection.c
Patrick Li e0ff515ec7 - Fix detection of libreadline and bump PORTREVISION [1]
- Allow port to compile on -current

Submitted by:	David Yeske <dyeske@yahoo.com> [1]
Reviewed by:	maintainer
2002-08-21 02:52:01 +00:00

18 lines
345 B
C

--- src/connection.c.orig Mon Aug 5 20:39:21 2002
+++ src/connection.c Mon Aug 5 20:40:08 2002
@@ -18,6 +18,7 @@
*
*/
+#include <sys/types.h>
#ifdef HAVE_CONFIG_H
#ifdef _WIN32
#include <win32config.h>
@@ -42,7 +43,6 @@
#include <unistd.h>
#endif
-#include <sys/types.h>
#include <ctype.h>
#include <errno.h>
#include <time.h>