aboutsummaryrefslogtreecommitdiff
path: root/security/pft/files/patch-rawmem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'security/pft/files/patch-rawmem.cpp')
-rw-r--r--security/pft/files/patch-rawmem.cpp24
1 files changed, 4 insertions, 20 deletions
diff --git a/security/pft/files/patch-rawmem.cpp b/security/pft/files/patch-rawmem.cpp
index 0279e9a8d7ff..0bb36edf3d1d 100644
--- a/security/pft/files/patch-rawmem.cpp
+++ b/security/pft/files/patch-rawmem.cpp
@@ -1,27 +1,11 @@
---- rawmem.cpp.orig Sat Jul 6 18:36:21 2002
-+++ rawmem.cpp Thu Aug 5 18:53:38 2004
-@@ -2,7 +2,7 @@
- *
- * $Id: rawmem.cpp,v 1.2 2002/01/07 17:18:49 fx Exp $
- */
--#include <iostream.h>
-+#include <iostream>
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
-@@ -10,10 +10,14 @@
+--- rawmem.cpp.orig Sun May 22 19:17:40 2005
++++ rawmem.cpp Sun May 22 19:18:34 2005
+@@ -11,6 +11,8 @@
#ifndef UNIX
#include <winsock2.h>
#else
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
--#endif UNIX
-+#endif // UNIX
+ #endif //UNIX
- #include "rawmem.h"
-+
-+using namespace std;
-
- Rawmem::Rawmem() {
- mem=NULL;