summaryrefslogtreecommitdiff
path: root/include/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/util.h')
-rw-r--r--include/util.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/util.h b/include/util.h
index 61754ed..e7bc431 100644
--- a/include/util.h
+++ b/include/util.h
@@ -10,10 +10,11 @@
#include "config.h"
#include "sqfs/predef.h"
-#include <sys/types.h>
#include <stdint.h>
#include <stddef.h>
+#include "compat.h"
+
#if defined(__GNUC__) || defined(__clang__)
#define UI_ADD_OV __builtin_uadd_overflow
#define UL_ADD_OV __builtin_uaddl_overflow