]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckaddr.cpp
vsprintf() is ANSI so there is normally no need to test for it
[wxWidgets.git] / src / common / sckaddr.cpp
index 55a9521b6e73bf38e641df65a4493e70c5bbaae1..db66326bb2fdea5e63f91e34675cc283c3cebec5 100644 (file)
 #pragma implementation "sckaddr.h"
 #endif
 
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+
+#ifndef WX_PRECOMP
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <ctype.h>
 #include <socket.h>
 #include <in.h>
 #else
+#if defined(__FreeBSD__) || defined (__NetBSD__)
+#include <sys/types.h>
+#endif
+#include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
 
 #include "wx/sckaddr.h"
 
-#ifdef __BORLANDC__
-#pragma hdrstop
-#endif
-
 #define CHECK_ADDRTYPE(var, type)
 
 #if !USE_SHARED_LIBRARY