freebsd-ports/net/nepenthes/files/patch-modules__download-tftp__TFTPDialogue.cpp
John Marino 6a49fa15fa Stage net/nepenthese and unbreak on FreeBSD 10+
PR:		193042
Submitted by:	Ports Fury
2014-08-30 20:50:54 +00:00

13 lines
318 B
C++

--- modules/download-tftp/TFTPDialogue.cpp.orig
+++ modules/download-tftp/TFTPDialogue.cpp
@@ -27,7 +27,10 @@
/* $Id: TFTPDialogue.cpp 550 2006-05-04 10:25:35Z common $ */
+#include <cstdlib>
+#include <cstring>
#include <sys/types.h>
+#include <sys/socket.h>
#include <arpa/tftp.h>
#include <netinet/in.h>