freebsd-ports/audio/icecast2/files/patch-src::sock.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
317 B
C

--- src/sock.c.orig Mon Aug 5 20:57:27 2002
+++ src/sock.c Mon Aug 5 20:57:48 2002
@@ -19,6 +19,7 @@
*
*/
+#include <sys/types.h>
#ifdef HAVE_CONFIG_H
#ifdef _WIN32
#include <win32config.h>
@@ -35,7 +36,6 @@
#include "definitions.h"
-#include <sys/types.h>
#include <ctype.h>
#ifdef HAVE_UNISTD_H