From patchwork Sat Dec 31 22:22:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Engelhardt X-Patchwork-Id: 133750 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id ACA6BB6F18 for ; Sun, 1 Jan 2012 09:22:13 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753379Ab1LaWWI (ORCPT ); Sat, 31 Dec 2011 17:22:08 -0500 Received: from seven.medozas.de ([188.40.89.202]:50040 "EHLO seven.medozas.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753251Ab1LaWWH (ORCPT ); Sat, 31 Dec 2011 17:22:07 -0500 Received: by seven.medozas.de (Postfix, from userid 25121) id 2386321A0173; Sat, 31 Dec 2011 23:22:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by seven.medozas.de (Postfix) with ESMTP id 02DB521A0172; Sat, 31 Dec 2011 23:22:06 +0100 (CET) Date: Sat, 31 Dec 2011 23:22:05 +0100 (CET) From: Jan Engelhardt To: shemminger@vyatta.com cc: Linux Networking Developer Mailing List Subject: iproute2: avoid use of implicit declarations In-Reply-To: Message-ID: References: User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Jan Engelhardt Date: 2011-12-31 23:16:27.428349795 +0100 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' --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/libnetlink.h b/include/libnetlink.h index b237579..b0656ce 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -1,6 +1,7 @@ #ifndef __LIBNETLINK_H__ #define __LIBNETLINK_H__ 1 +#include #include #include #include