Now that Contiki has a htonl() we need the same workaround here that we already have for htons().
This commit is contained in:
parent
e03f25aea7
commit
be08e76366
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* $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
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
@ -42,6 +42,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#define htonl /* Avoid 'conflicting types' error. */
|
||||||
#define htons /* Avoid 'conflicting types' error. */
|
#define htons /* Avoid 'conflicting types' error. */
|
||||||
#include "contiki-net.h"
|
#include "contiki-net.h"
|
||||||
#include "wpcap.h"
|
#include "wpcap.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue