aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index c0ec1c0bf..82596bc0b 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -100,7 +100,7 @@ static void klogd_close(void)
#else
# ifndef _PATH_KLOG
-# ifdef __GNU__
+# if defined(__GNU__) || defined (__FreeBSD__)
# define _PATH_KLOG "/dev/klog"
# else
# error "your system's _PATH_KLOG is unknown"