diff options
Diffstat (limited to '')
-rw-r--r-- | net/Sockets-devel/files/patch-Sockets-config.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/Sockets-devel/files/patch-Sockets-config.cpp b/net/Sockets-devel/files/patch-Sockets-config.cpp new file mode 100644 index 000000000000..c53e3270e418 --- /dev/null +++ b/net/Sockets-devel/files/patch-Sockets-config.cpp @@ -0,0 +1,23 @@ +--- Sockets-config.cpp.orig Sun Jan 16 02:23:14 2005 ++++ Sockets-config.cpp Sun Jan 16 02:26:07 2005 +@@ -3,6 +3,10 @@ + CFLAGS = -Wall -g -O2 $(INCLUDE) -MD -D_VERSION='"$(VERSION)"' + # manual autoconf .... + ++#if (defined(__unix__) || defined(unix)) && !defined(USG) ++#include <sys/param.h> ++#endif ++ + # uncomment if your operating system is linux, mac os x, or solaris + #CFLAGS += -DLINUX + #CFLAGS += -DMACOSX +@@ -19,6 +23,9 @@ + printf(" -D_VERSION='\"%s\"'", _VERSION); + #ifdef LINUX + printf(" -DLINUX"); ++#endif ++#if defined __FreeBSD__ ++ printf(" -DFREEBSD"); + #endif + #ifdef MACOSX + printf(" -DMACOSX"); |