aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-12-14 17:38:18 +0100
committerYang Tse <yangsita@gmail.com>2012-12-14 17:38:18 +0100
commita0b207164c6c943adb8b3bf89b375a491b41806a (patch)
tree4b28e66f9b15d8e86cddd8ad4656ed3cf0ac9a90 /lib/memdebug.c
parentf254c59dc7d3559d062c00704e00431bc4504b67 (diff)
setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>
Inclusion of top two most included header files now done in setup_once.h
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r--lib/memdebug.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c
index 0b81621cb..c95f41fc5 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -23,20 +23,13 @@
#include "setup.h"
#ifdef CURLDEBUG
-#include <curl/curl.h>
-#ifdef HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif
+#include <curl/curl.h>
#define _MPRINTF_REPLACE
#include <curl/mprintf.h>
#include "urldata.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
#define MEMDEBUG_NODEFINES /* don't redefine the standard functions */
#include "curl_memory.h"
#include "memdebug.h"