opnsense-ports/irc/lostirc/files/patch-src_libirc_DCC.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
402 B
C++

--- src/libirc/DCC.cpp.ori Sat Feb 7 17:25:51 2004
+++ src/libirc/DCC.cpp Sat Feb 7 17:27:32 2004
@@ -16,12 +16,13 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#include <sys/types.h>
+
#ifndef WIN32
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#else
-#include <sys/types.h>
#include <sys/stat.h>
#define stat _stat
#endif