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 */