summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-08-16 06:38:23 +0200
committerAnthony G. Basile <blueness@gentoo.org>2014-01-20 12:50:03 -0500
commit57721ae2d0252db5fadfaa7790998c76496d1cfb (patch)
treea67e807845fb7819baff8d413fe766b123ee024e
parent6fe934ee6d8eb5f2098be22114e9bca34cbda591 (diff)
libudev/sparse-endian.h: include header which defines __bswap_XX
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-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))