freebsd-ports/x11-toolkits/plib/files/patch-src::net::netSocket.cxx
Ying-Chieh Liao d1f1a20d0d make it buildable on -stable
PR:		31227
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
2001-10-14 13:20:05 +00:00

10 lines
279 B
C++

--- src/net/netSocket.cxx.orig Sun Oct 14 21:13:16 2001
+++ src/net/netSocket.cxx Sun Oct 14 21:13:48 2001
@@ -46,6 +46,7 @@
/* Paul Wiltsey says we need this for Solaris 2.8 */
+#include <netinet/in.h>
#ifndef INADDR_NONE
#define INADDR_NONE ((unsigned long)-1)
#endif