From: Jan Engelhardt Date: Sat, 31 Dec 2011 22:16:27 +0000 (+0100) Subject: iproute2: avoid use of implicit declarations X-Git-Tag: v3.2.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5b830dc5dab07149157eb007de9a858a57e880b;p=thirdparty%2Fiproute2.git iproute2: avoid use of implicit declarations gcc -DLIBDIR=\"/usr/lib64\" -D_GNU_SOURCE -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\"/usr/lib64/xtables\" -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib64\" -fPIC -c -o ipx_pton.o ipx_pton.c In file included from ../include/utils.h:8:0, from ipx_ntop.c:5: ../include/libnetlink.h: In function 'rta_getattr_u64': ../include/libnetlink.h:84:2: warning: implicit declaration of function 'memcpy' ../include/libnetlink.h:84:2: warning: incompatible implicit declaration of built-in function 'memcpy' --- diff --git a/include/libnetlink.h b/include/libnetlink.h index b23757983..b0656ce29 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -1,6 +1,7 @@ #ifndef __LIBNETLINK_H__ #define __LIBNETLINK_H__ 1 +#include #include #include #include