Index: third_party/libxml/nanoftp.c |
diff --git a/third_party/libxml/nanoftp.c b/third_party/libxml/nanoftp.c |
index 8c4ea88b09fac2c0dccb2ee71413a49c184e52d9..a54b85b3a545ac3f1e89245124219e0bee06d282 100644 |
--- a/third_party/libxml/nanoftp.c |
+++ b/third_party/libxml/nanoftp.c |
@@ -89,7 +89,7 @@ |
* A couple portability macros |
*/ |
#ifndef _WINSOCKAPI_ |
-#ifndef __BEOS__ |
+#if !defined(__BEOS__) || defined(__HAIKU__) |
#define closesocket(s) close(s) |
#endif |
#define SOCKET int |