From 8ef1c4e0a71d590668ab326f7312f36523d6d5df Mon Sep 17 00:00:00 2001 From: Eric Frias Date: Wed, 11 Jun 2014 13:56:03 -0700 Subject: [PATCH] Add include for ntohl() on linux --- src/network/ntp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/network/ntp.cpp b/src/network/ntp.cpp index a0b872d..3fe7c8c 100644 --- a/src/network/ntp.cpp +++ b/src/network/ntp.cpp @@ -3,8 +3,10 @@ #include #include -#ifdef _WIN32 +#if defined(_WIN32) # include // for ntohl() +#elif defined(__linux__) +# include #endif #include