aboutsummaryrefslogtreecommitdiff
path: root/lib/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base.h')
-rw-r--r--lib/base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/base.h b/lib/base.h
index 3b2d50b..daa6c58 100644
--- a/lib/base.h
+++ b/lib/base.h
@@ -13,6 +13,8 @@
#ifndef BASE_H
#define BASE_H
+#define _DEFAULT_SOURCE
+#include <endian.h>
#include <stdint.h>
/* Basic macros for a variety of uses. Quite self explanatory. */