summaryrefslogtreecommitdiff
path: root/net/Sockets/files/patch-MinderHandler.cpp
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-16 05:04:44 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-01-16 05:04:44 +0000
commit758b6a8fe39c2ca45ab9d7e33bf98ac9f5979113 (patch)
tree76084517eebd0d15621db1b4840a05ef58fcb790 /net/Sockets/files/patch-MinderHandler.cpp
parentUpdate to 1.3.19. See http://galeon.sourceforge.net/Main/GaleonRelease1319 (diff)
New port Sockets version 1.7.1: A C++ wrapper for BSD-style sockets
Notes
Notes: svn path=/head/; revision=126544
Diffstat (limited to 'net/Sockets/files/patch-MinderHandler.cpp')
-rw-r--r--net/Sockets/files/patch-MinderHandler.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/Sockets/files/patch-MinderHandler.cpp b/net/Sockets/files/patch-MinderHandler.cpp
new file mode 100644
index 000000000000..ec527d254b23
--- /dev/null
+++ b/net/Sockets/files/patch-MinderHandler.cpp
@@ -0,0 +1,22 @@
+--- MinderHandler.cpp.orig Sun Jan 16 02:22:51 2005
++++ MinderHandler.cpp Sun Jan 16 02:26:52 2005
+@@ -20,6 +20,10 @@
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++
+ #ifdef _WIN32
+ #pragma warning(disable:4786)
+ #endif
+@@ -428,6 +432,8 @@
+ msg += ":" + tmp;
+ #ifdef _WIN32
+ msg += ":Win32";
++#elif defined __FreeBSD__
++ msg += ":FreeBSD";
+ #else
+ msg += ":Linux";
+ #endif