Fix klogd applet compilation on the FreeBSD
FreeBSD also using /dev/klog, see syslogd(8)
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index c0ec1c0..82596bc 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -100,7 +100,7 @@
#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"