From be08e763668a6f1734a31c2fb5574874a6c6f396 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Thu, 5 Apr 2007 19:41:02 +0000 Subject: [PATCH] Now that Contiki has a htonl() we need the same workaround here that we already have for htons(). --- cpu/native/net/wpcap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpu/native/net/wpcap.c b/cpu/native/net/wpcap.c index e334c7317..15045be60 100644 --- a/cpu/native/net/wpcap.c +++ b/cpu/native/net/wpcap.c @@ -30,7 +30,7 @@ * * Author: Oliver Schmidt * - * $Id: wpcap.c,v 1.1 2007/04/01 20:39:38 oliverschmidt Exp $ + * $Id: wpcap.c,v 1.2 2007/04/05 19:41:02 oliverschmidt Exp $ */ #define WIN32_LEAN_AND_MEAN @@ -42,6 +42,7 @@ #include #include +#define htonl /* Avoid 'conflicting types' error. */ #define htons /* Avoid 'conflicting types' error. */ #include "contiki-net.h" #include "wpcap.h"