summaryrefslogtreecommitdiff
path: root/lib/ipmi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ipmi_main.c')
-rw-r--r--lib/ipmi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ipmi_main.c b/lib/ipmi_main.c
index 811c80b..65f1ac4 100644
--- a/lib/ipmi_main.c
+++ b/lib/ipmi_main.c
@@ -34,6 +34,7 @@
(_XOPEN_SOURCE >= 500 || \
_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) && \
!(_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)
+#define _DEFAULT_SOURCE
#include <stdlib.h>
#include <stdio.h>