diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 19:32:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-10-12 19:34:01 +0000 |
commit | 0caf800fa28bdd158c7c88e5e4437144f51073dc (patch) | |
tree | cbceed9116d78cf44901b22dabccb4551f3fab04 /main/linux-headers | |
parent | e95f831e72753f241127d430478b4c819414ed5e (diff) | |
download | aports-0caf800fa28bdd158c7c88e5e4437144f51073dc.tar.bz2 aports-0caf800fa28bdd158c7c88e5e4437144f51073dc.tar.xz |
main/linux-headers: fix little_endian.h
little_endian.h uses __always_inline which is defined in stddef.h
should fix build of linux-tools
Diffstat (limited to 'main/linux-headers')
-rw-r--r-- | main/linux-headers/APKBUILD | 2 | ||||
-rw-r--r-- | main/linux-headers/fix-little_endian.patch | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/main/linux-headers/APKBUILD b/main/linux-headers/APKBUILD index 089d3892b4..027e2e0f13 100644 --- a/main/linux-headers/APKBUILD +++ b/main/linux-headers/APKBUILD @@ -2,7 +2,7 @@ pkgname=linux-headers pkgver=4.18.13 _kernver=${pkgver%.*} -pkgrel=0 +pkgrel=1 pkgdesc="Linux system headers" url="http://kernel.org" arch="all" diff --git a/main/linux-headers/fix-little_endian.patch b/main/linux-headers/fix-little_endian.patch new file mode 100644 index 0000000000..eee74df01d --- /dev/null +++ b/main/linux-headers/fix-little_endian.patch @@ -0,0 +1,14 @@ +little_endian.h uses __always_inline which is defined in stddef.h + +diff --git a/include/uapi/linux/byteorder/little_endian.h b/include/uapi/linux/byteorder/little_endian.h +index 601c904..cd98982 100644 +--- a/include/uapi/linux/byteorder/little_endian.h ++++ b/include/uapi/linux/byteorder/little_endian.h +@@ -9,6 +9,7 @@ + #define __LITTLE_ENDIAN_BITFIELD + #endif + ++#include <linux/stddef.h> + #include <linux/types.h> + #include <linux/swab.h> + |