aboutsummaryrefslogtreecommitdiff
path: root/testprogs/valgrindtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'testprogs/valgrindtest.c')
-rw-r--r--testprogs/valgrindtest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/testprogs/valgrindtest.c b/testprogs/valgrindtest.c
index 55055ca3d9ba..22b75b0dbe7c 100644
--- a/testprogs/valgrindtest.c
+++ b/testprogs/valgrindtest.c
@@ -51,9 +51,7 @@ static const char copyright[] _U_ =
The Regents of the University of California. All rights reserved.\n";
#endif
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include <stdio.h>
#include <stdlib.h>
@@ -72,7 +70,7 @@ The Regents of the University of California. All rights reserved.\n";
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) || defined(_AIX) || defined(sun)
/* OS with BPF - use BPF */
#define USE_BPF
-#elif defined(linux)
+#elif defined(__linux__)
/* Linux - use socket filters */
#define USE_SOCKET_FILTERS
#else