aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/memdebug.h')
-rw-r--r--lib/memdebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h
index cfac1e077..8f2ffc240 100644
--- a/lib/memdebug.h
+++ b/lib/memdebug.h
@@ -103,6 +103,7 @@ CURL_EXTERN int curl_fclose(FILE *file, int line, const char *source);
# endif
#endif
+#undef socket
#define socket(domain,type,protocol)\
curl_socket(domain, type, protocol, __LINE__, __FILE__)
#undef accept /* for those with accept as a macro */