From patchwork Mon Mar 16 15:05:25 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 4024 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id C68C058D8; Mon, 16 Mar 2015 16:06:07 +0100 (CET) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id B93505699 for ; Mon, 16 Mar 2015 16:06:06 +0100 (CET) Received: by wgdm6 with SMTP id m6so42434403wgd.2 for ; Mon, 16 Mar 2015 08:06:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type:content-transfer-encoding; bh=kKHuwsrCNTGS9B39j8opKi3IZlJ21kTjoQgonlvIF0E=; b=jcL5etInznCQ1zDNBELibxh815K5abuSYcN8WOUpZdnUYwQzGii9k9xp223l3r0O32 SfKwaCBUG353+Ua7y2svJ4dTpDUpa0sj3+5bVbFcn2ZvzkRv1P/OK4elKOFUq6L9YrD2 9dxpEvRFZbyfzTHAnCIInMcnjl1F6mulZinG2mzF1Ex+/ef9LpFE1F9fEVTs9JfSUe1T e26oFJOlVk6ae6BoGZV8AHMvAE1H53yxZ3WeyXg04Gf3ERyZrAVtDo920YKcKqfPEFD4 1gWcTT/5uR9rZBsXWNuoP+UMtDWlk6HdFwzbnImsyu+HCGtKb6s+U8Sy290YOylpFvID 7n1g== X-Gm-Message-State: ALoCoQkKEbzMIa7tQHhFFhXaLK6pwSy3TD/6exX7uHgvzgX1/VomyXn1g6UURz2AWrgjbOBU3Y10 X-Received: by 10.180.24.3 with SMTP id q3mr47154018wif.79.1426518365459; Mon, 16 Mar 2015 08:06:05 -0700 (PDT) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id b4sm15764452wic.2.2015.03.16.08.06.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 16 Mar 2015 08:06:04 -0700 (PDT) From: Thomas Monjalon To: dev@dpdk.org Date: Mon, 16 Mar 2015 16:05:25 +0100 Message-Id: <1426518325-3374-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.2.2 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] version: fix include X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" When including rte_version.h without string.h, there is a compilation error: include/rte_version.h: error: implicit declaration of function ‘strlen’ Signed-off-by: Thomas Monjalon --- lib/librte_eal/common/include/rte_version.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_version.h b/lib/librte_eal/common/include/rte_version.h index 89934dd..15bdec8 100644 --- a/lib/librte_eal/common/include/rte_version.h +++ b/lib/librte_eal/common/include/rte_version.h @@ -44,6 +44,7 @@ extern "C" { #endif #include +#include #include /**