diff options
Diffstat (limited to 'src/libstrongswan/utils/leak_detective.c')
-rw-r--r-- | src/libstrongswan/utils/leak_detective.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c index af29e2100..a2bca193d 100644 --- a/src/libstrongswan/utils/leak_detective.c +++ b/src/libstrongswan/utils/leak_detective.c @@ -19,14 +19,11 @@ #include <string.h> #include <stdio.h> #include <signal.h> -#include <sys/socket.h> -#include <netinet/in.h> -#include <arpa/inet.h> #include <unistd.h> -#include <syslog.h> -#include <netdb.h> #include <locale.h> +#ifdef HAVE_DLADDR #include <dlfcn.h> +#endif #include <time.h> #include <errno.h> @@ -42,6 +39,7 @@ #include "leak_detective.h" #include <library.h> +#include <utils/utils.h> #include <utils/debug.h> #include <utils/backtrace.h> #include <collections/hashtable.h> |