From 9ec0dfa31f56ad87bed67fcb86b6d702ac99c33d Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 17 Feb 2018 18:04:54 +0200 Subject: [PATCH] Define host_to_le64() for Windows builds Signed-off-by: Jouni Malinen --- src/utils/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/common.h b/src/utils/common.h index fec7f6013..f824d001a 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -150,6 +150,7 @@ static inline unsigned int wpa_swap_32(unsigned int v) #define host_to_le32(n) (n) #define be_to_host32(n) wpa_swap_32(n) #define host_to_be32(n) wpa_swap_32(n) +#define host_to_le64(n) (n) #define WPA_BYTE_SWAP_DEFINED -- 2.47.2