mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
libextractor: Add missing header
Fixes compilation with -Wimplicit-function-declaration Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
13
libs/libextractor/patches/010-musl.patch
Normal file
13
libs/libextractor/patches/010-musl.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
diff --git a/src/common/le_architecture.h b/src/common/le_architecture.h
|
||||
index b863ddb..713acdd 100644
|
||||
--- a/src/common/le_architecture.h
|
||||
+++ b/src/common/le_architecture.h
|
||||
@@ -26,6 +26,8 @@
|
||||
|
||||
#if WINDOWS
|
||||
#include <sys/param.h> /* #define BYTE_ORDER */
|
||||
+#else
|
||||
+#include <byteswap.h>
|
||||
#endif
|
||||
|
||||
/* This is copied directly from GNUnet headers */
|
||||
Reference in New Issue
Block a user