/* -------------------------------------------------------------------------
- * Project: GSocket (Generic Socket) for WX
- * Name: gsockunx.h
- * Purpose: GSocket Macintosh header
- * CVSID: $Id$
+ * Project: GSocket (Generic Socket) for WX
+ * Name: gsockunx.h
+ * Copyright: (c) Guilhem Lavaux
+ * Licence: wxWindows Licence
+ * Purpose: GSocket Macintosh header
+ * CVSID: $Id$
* -------------------------------------------------------------------------
*/
#include "gsocket.h"
#endif
+#ifndef OTUNIXERRORS
+
#include <MacHeaders.c>
#define OTUNIXERRORS 1
+// we get a conflict in OT headers otherwise :
+#undef EDEADLK
#include <OpenTransport.h>
#include <OpenTransportProviders.h>
#include <OpenTptInternet.h>
+#endif
+
/* Definition of GSocket */
class GSocket
{