From bfdc8d1870878c76cf210ca655ba134ab940549b Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sat, 22 Jan 2000 22:26:10 +0000 Subject: [PATCH] Fixed fixups to allow EMX to compile again. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/gsocket.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/os2/gsocket.c b/src/os2/gsocket.c index 911bf30bad..48f2599c9d 100644 --- a/src/os2/gsocket.c +++ b/src/os2/gsocket.c @@ -7,7 +7,12 @@ */ #include "wx/setup.h" +#ifndef __EMX__ +/* I don't see, why this include is needed, but it seems to be necessary + sometimes. For EMX, including C++ headers into plain C source breaks + compilation, so don't do it there. */ #include "wx/defs.h" +#endif #if wxUSE_SOCKETS -- 2.47.2