ports/devel/codeworker/patches/patch-ScpStream_cpp

13 lines
335 B
Text

Fix numerous include errors with ports-gcc
Index: ScpStream.cpp
--- ScpStream.cpp.orig
+++ ScpStream.cpp
@@ -28,6 +28,8 @@ To contact the author: codeworker@free.fr
# include <sys/stat.h>
// functions 'ntohl()' and 'htonl()'
# include <netinet/in.h>
+# include <string.h>
+# include <stdlib.h>
#endif
#include "UtlException.h"