]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/socket.h
Unicode compilation fix.
[wxWidgets.git] / include / wx / socket.h
index b8ebcb846b31d3394198e7d9b5a87ef5a5c310bd..dbde09bff73bb6dc30362e56a2724f4692232914 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_NETWORK_SOCKET_H
 #define _WX_NETWORK_SOCKET_H
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
   #pragma interface "socket.h"
 #endif
 
@@ -33,6 +33,7 @@
 
 #include "wx/sckaddr.h"
 #include "wx/gsocket.h"
+#include "wx/list.h"
 
 // ------------------------------------------------------------------------
 // Types and constants