freebsd-ports/net/nepenthes/files/patch-modules__module-honeytrap__PCAPSocket.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

20 lines
467 B
C++

--- modules/module-honeytrap/PCAPSocket.cpp.orig
+++ modules/module-honeytrap/PCAPSocket.cpp
@@ -28,12 +28,14 @@
/* $Id: PCAPSocket.cpp 697 2006-11-11 09:17:19Z common $ */
#include <unistd.h>
-#include <time.h>
+#include <cstdlib>
+#include <cstring>
+#include <ctime>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#include <errno.h>
+#include <cerrno>
#include "LogManager.hpp"
#include "PCAPSocket.hpp"