+/*
+ * sockets.h: Socket handles
+ *
+ * Author:
+ * Dick Porter (dick@ximian.com)
+ *
+ * (C) 2002 Ximian, Inc.
+ */
+
#ifndef _WAPI_SOCKETS_H_
#define _WAPI_SOCKETS_H_
#define WSADESCRIPTION_LEN 256
#define WSASYS_STATUS_LEN 128
+#ifdef __APPLE__
+typedef unsigned int socklen_t;
+#endif
+
typedef struct
{
guint16 wVersion;