From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id A38D76C9A for ; Tue, 14 Jun 2016 11:22:10 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id r190so20514200wmr.0 for ; Tue, 14 Jun 2016 02:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mwn/Tu1Zif3lYEKUVLB0dO3sI3o2ifednvAdQzu56RA=; b=p025KSJmfrIbr5WvgHIgIjc7/q7kRdhGfrLP7403jffifbCDmp8U159Ho9qOxMSrCD AIkppFKcTDZANL/JBkSKTleRVexHmPNbDMW2bP1SisMk22NAGFGmCik1vqFI5yU0c3At 5U8ZFsUij4grpbAZIUN58Nc3840ArE1gPKWBQdITQJJOQMNS+zUVlfrdAJ+oOCmq+GjV u+jTW+N4/LrrGTobAeqa2KW6efgC6x7aIi4qe4ab0/JfsXDC+xnGPTEv+HKrZMDz7xYl RBihaOrLgmq0St8IBJBOh80z3UD0cJ+/J/1KohMXXuBl6nqTgsfzuoSosewpOWsSLOCv ePCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mwn/Tu1Zif3lYEKUVLB0dO3sI3o2ifednvAdQzu56RA=; b=hm12HBFKlsehudqHUWGluXgj2ajKVx4hltbRKwNHSp0VfkUpIFClYW2DPVmXLThU0O CZkDOPazcWwzML6YzR6M6RUAvCJY4MCUb7PiuVGTKBNO9tm5fYq00O1xt1aplFzb1DmG Ib+XgOcQaKkaJLISEKN3EaabgZXjO00QRqDNFdILVB7TyYbMe9a2S5trlR+oxn5Z91Du +zt385j1PZdWOAXRwM4HLuCJ8qDejRyIihiq+pYD5RXGS5XpcbPkV/EX1YsGiw0NNliQ Mli4kZPnAo8KklbGkbeepAAQH+mL0ScGgLS01Byasp5bkJusUZAqPlQuHlpaWWgiivUk TmSA== X-Gm-Message-State: ALyK8tKHE8CDKcw1AMJRhYNNGaOlGmsUQetajFN0P/6eeM3dLKmFPZKGM8t9Qh/VrbN8dh64 X-Received: by 10.194.120.69 with SMTP id la5mr5685689wjb.152.1465896130242; Tue, 14 Jun 2016 02:22:10 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id u64sm3107149wmd.8.2016.06.14.02.22.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 02:22:09 -0700 (PDT) From: Adrien Mazarguil To: Bruce Richardson Cc: dev@dpdk.org Date: Tue, 14 Jun 2016 11:22:00 +0200 Message-Id: <1465896120-17173-1-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465571372-28254-1-git-send-email-adrien.mazarguil@6wind.com> References: <1465571372-28254-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH] mlx: fix compilation with older Glibc 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: , X-List-Received-Date: Tue, 14 Jun 2016 09:22:10 -0000 A missing define in the previous patch causes additional compilation issues. Fixes: 3025206f5060 ("mlx: fix compilation with recent Glibc") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/Makefile | 1 + drivers/net/mlx5/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/mlx4/Makefile b/drivers/net/mlx4/Makefile index ca6e483..efed953 100644 --- a/drivers/net/mlx4/Makefile +++ b/drivers/net/mlx4/Makefile @@ -48,6 +48,7 @@ CFLAGS += -O3 CFLAGS += -std=gnu99 -Wall -Wextra CFLAGS += -g CFLAGS += -I. +CFLAGS += -D_BSD_SOURCE CFLAGS += -D_DEFAULT_SOURCE CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += $(WERROR_FLAGS) diff --git a/drivers/net/mlx5/Makefile b/drivers/net/mlx5/Makefile index 283d8eb..66687e8 100644 --- a/drivers/net/mlx5/Makefile +++ b/drivers/net/mlx5/Makefile @@ -60,6 +60,7 @@ CFLAGS += -O3 CFLAGS += -std=gnu99 -Wall -Wextra CFLAGS += -g CFLAGS += -I. +CFLAGS += -D_BSD_SOURCE CFLAGS += -D_DEFAULT_SOURCE CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += $(WERROR_FLAGS) -- 2.1.4