summaryrefslogtreecommitdiff
path: root/lib/include/radsec
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/radsec')
-rw-r--r--lib/include/radsec/radsec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/include/radsec/radsec.h b/lib/include/radsec/radsec.h
index a35077c..2744cd2 100644
--- a/lib/include/radsec/radsec.h
+++ b/lib/include/radsec/radsec.h
@@ -6,6 +6,12 @@
#include <unistd.h>
#include <sys/time.h>
+#ifdef SYSCONFDIR
+#define RS_FREERADIUS_DICT SYSCONFDIR "/raddb/dictionary"
+#else /* !SYSCONFDIR */
+#define RS_FREERADIUS_DICT "/usr/local/raddb/dictionary"
+#endif /* !SYSCONFDIR */
+
enum rs_error_code {
RSE_OK = 0,
RSE_NOMEM = 1,