summaryrefslogtreecommitdiffstats
path: root/runtime/net.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-09 14:22:25 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-09 14:22:25 +0100
commit6b1c4e423730cec57ee29b04ae973e86ea17a9d7 (patch)
tree5f2fef8b100cd8d07e0d697c8c4b2cd1b73d37a2 /runtime/net.c
parent19ee18602fee6e7163f6110a92023e5e2d0c7d79 (diff)
downloadrsyslog-6b1c4e423730cec57ee29b04ae973e86ea17a9d7.tar.gz
rsyslog-6b1c4e423730cec57ee29b04ae973e86ea17a9d7.tar.bz2
rsyslog-6b1c4e423730cec57ee29b04ae973e86ea17a9d7.zip
fix typo from last patch, prevented compile on non-solaris
Diffstat (limited to 'runtime/net.c')
-rw-r--r--runtime/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/net.c b/runtime/net.c
index 5d5e5eb7..1a8f2438 100644
--- a/runtime/net.c
+++ b/runtime/net.c
@@ -54,11 +54,11 @@
#include <fnmatch.h>
#include <fcntl.h>
#include <unistd.h>
-#if HAVE_GETIFADDR
+#if HAVE_GETIFADDRS
#include <ifaddrs.h>
#else
#include "compat/ifaddrs.h"
-#endif /* HAVE_GETIFADDR */
+#endif /* HAVE_GETIFADDRS */
#include <sys/types.h>
#include <arpa/inet.h>