summaryrefslogtreecommitdiff
path: root/src/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/endian.h')
-rw-r--r--src/endian.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/endian.h b/src/endian.h
index a5ad2f9..b4cc995 100644
--- a/src/endian.h
+++ b/src/endian.h
@@ -29,11 +29,13 @@
* along with anytun. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _ENDIAN_HPP_
-#define _ENDIAN_HPP_
+#ifndef _ENDIAN_H_
+#define _ENDIAN_H_
#ifndef _WIN32
#include <arpa/inet.h>
+#else
+#include <Winsock2.h>
#endif
#define SEQ_NR_T_NTOH(a) ntohl(a)