summaryrefslogtreecommitdiff
path: root/src/libudev/sparse-endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libudev/sparse-endian.h')
-rw-r--r--src/libudev/sparse-endian.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libudev/sparse-endian.h b/src/libudev/sparse-endian.h
index eb4dbf3615..51694bebb7 100644
--- a/src/libudev/sparse-endian.h
+++ b/src/libudev/sparse-endian.h
@@ -23,6 +23,7 @@
#include <endian.h>
#include <stdint.h>
+#include <byteswap.h>
#ifdef __CHECKER__
#define __bitwise __attribute__((bitwise))