summaryrefslogtreecommitdiffstats
path: root/modules.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon>2008-04-09 09:00:13 +0200
committerRainer Gerhards <rgerhards@adiscon>2008-04-09 09:00:13 +0200
commitb0a4df43e4434a1eeb3f23c2c5a4b0cdd2fbddda (patch)
tree193d7759a8abb28b648845a63d98d9753b2765f7 /modules.c
parentc565a7e847aeb58ddcd1bdbd006597953a4dea31 (diff)
downloadrsyslog-b0a4df43e4434a1eeb3f23c2c5a4b0cdd2fbddda.tar.gz
rsyslog-b0a4df43e4434a1eeb3f23c2c5a4b0cdd2fbddda.tar.xz
rsyslog-b0a4df43e4434a1eeb3f23c2c5a4b0cdd2fbddda.zip
fixed build system for BSD
It's a hack, but at least it works now - on BSD. Will check later if it is fine on Linux, too. Any better method of doing things is happily accepted ;)
Diffstat (limited to 'modules.c')
-rw-r--r--modules.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules.c b/modules.c
index 623a2f10..7eb52575 100644
--- a/modules.c
+++ b/modules.c
@@ -39,6 +39,9 @@
#include <time.h>
#include <assert.h>
#include <errno.h>
+#ifdef OS_BSD
+# include "libgen.h"
+#endif
#include <dlfcn.h> /* TODO: replace this with the libtools equivalent! */