From e37d79e4a3cfc91170947e1d962fae478a552e17 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 7 Apr 2007 00:27:22 +0000 Subject: [PATCH] Don't rely on gcc's auto-import feature. --- cpu/native/net/wpcap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/native/net/wpcap.c b/cpu/native/net/wpcap.c index f91d4ef21..426dc2602 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.3 2007/04/05 19:42:47 oliverschmidt Exp $ + * $Id: wpcap.c,v 1.4 2007/04/07 00:27:22 oliverschmidt Exp $ */ #define WIN32_LEAN_AND_MEAN @@ -49,7 +49,7 @@ #include "contiki-net.h" #include "wpcap.h" -extern char **__argv[]; +__attribute__((dllimport)) extern char **__argv[]; struct pcap;