mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Fixes compilation with -Wimplicit-function-declaration
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 0860268f22)
14 lines
363 B
Diff
14 lines
363 B
Diff
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 */
|