freebsd-ports/net/Sockets/files/patch-MinderHandler.cpp
Mario Sergio Fujikawa Ferreira c509d7c518 Update to 1.8.7
2005-09-25 06:32:55 +00:00

22 lines
570 B
C++

--- MinderHandler.cpp.orig Sun Sep 25 02:40:57 2005
+++ MinderHandler.cpp Sun Sep 25 02:41:49 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