summaryrefslogtreecommitdiff
path: root/src/endian.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-12-29 21:53:04 +0000
committerOthmar Gsenger <otti@anytun.org>2008-12-29 21:53:04 +0000
commit21e5fff28dd0a4a859820e9bb6c45cfd1b569f0d (patch)
treea4bd5c98299a3cc560e7c292b1323999466838ba /src/endian.h
parentadded endian.h (diff)
fixed windows endian include
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)