aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/utils/leak_detective.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstrongswan/utils/leak_detective.c b/src/libstrongswan/utils/leak_detective.c
index 4a2a7e56f..73214ae2b 100644
--- a/src/libstrongswan/utils/leak_detective.c
+++ b/src/libstrongswan/utils/leak_detective.c
@@ -32,6 +32,7 @@
#include <unistd.h>
#include <syslog.h>
#include <pthread.h>
+#include <netdb.h>
#include "leak_detective.h"
@@ -161,6 +162,7 @@ whitelist_t whitelist[] = {
{mktime, 0xFF},
{inet_ntoa, 0xFF},
{strerror, 0xFF},
+ {getprotobynumber, 0xFF},
};
/**