#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