From patchwork Mon Nov 3 20:53:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 40078 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EE68521894 for ; Mon, 3 Nov 2014 20:54:31 +0000 (UTC) Received: by mail-lb0-f200.google.com with SMTP id f15sf6850420lbj.11 for ; Mon, 03 Nov 2014 12:54:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=+4hi8uJ4a60QIcsQWXsBlILkW5lFhPUdzQcEdmVakgM=; b=gHG5wm42KkZ29EEyvFruACkuKm2HueFo5VdhbIQW87kXRFbqVEKghTKlV+1U5EOLLc lgVnAR0oi41OicGl63SMH5xP4Vx2FTJrY+RG3c4wx/NWfyj9RgRj8w1aVKo8M92aEDPc h7ri9hhe4h597aNT8dFEAXpywh/F/b7Y1swhxPIlaNjGJJYnLy955jLEXvOFJ3srl4UL 1SzgQPEk9TspeDu4QVGbqDTikLpxE2xL73O9dGeFPuJ3lGcdg2Nv0xScwdRkUGHB5BN+ yWlRmhYRdFmiMsUNUkhF730PvJZjRD6eHJouqb3Rjv5wUe1gPxjWEIWif8eQG2RYNZmU OQKA== X-Gm-Message-State: ALoCoQm11/vMkjfVcZD4xWrE0jxcEKlsBYD9OnopyKjqK6FDz8nz5RjuWoeIw6l+DbfygybJ+3pC X-Received: by 10.112.16.35 with SMTP id c3mr887059lbd.13.1415048070782; Mon, 03 Nov 2014 12:54:30 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.234.132 with SMTP id ue4ls813473lac.100.gmail; Mon, 03 Nov 2014 12:54:30 -0800 (PST) X-Received: by 10.112.83.100 with SMTP id p4mr13029731lby.62.1415048070572; Mon, 03 Nov 2014 12:54:30 -0800 (PST) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com. [209.85.217.181]) by mx.google.com with ESMTPS id u16si29003254laz.45.2014.11.03.12.54.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Nov 2014 12:54:30 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) client-ip=209.85.217.181; Received: by mail-lb0-f181.google.com with SMTP id l4so3299819lbv.26 for ; Mon, 03 Nov 2014 12:54:30 -0800 (PST) X-Received: by 10.112.218.101 with SMTP id pf5mr17687732lbc.46.1415048070493; Mon, 03 Nov 2014 12:54:30 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp24093lbc; Mon, 3 Nov 2014 12:54:29 -0800 (PST) X-Received: by 10.140.109.102 with SMTP id k93mr49171347qgf.83.1415048069106; Mon, 03 Nov 2014 12:54:29 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal ([54.225.227.206]) by mx.google.com with ESMTPS id o9si24613726qay.101.2014.11.03.12.54.28 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 03 Nov 2014 12:54:29 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XlOds-0004p8-Vx; Mon, 03 Nov 2014 20:54:25 +0000 Received: from mail-qg0-f47.google.com ([209.85.192.47]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XlOdm-0004p3-5j for lng-odp@lists.linaro.org; Mon, 03 Nov 2014 20:54:18 +0000 Received: by mail-qg0-f47.google.com with SMTP id j107so9398692qga.6 for ; Mon, 03 Nov 2014 12:54:13 -0800 (PST) X-Received: by 10.224.12.145 with SMTP id x17mr56837691qax.13.1415048052836; Mon, 03 Nov 2014 12:54:12 -0800 (PST) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id j11sm12672380qaa.47.2014.11.03.12.54.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 03 Nov 2014 12:54:12 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 3 Nov 2014 15:53:57 -0500 Message-Id: <1415048037-6416-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: References: X-Topics: patch Subject: [lng-odp] [PATCH v2] fix including odp_std_types.h X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.181 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 API headers should not include C std lib headers directly Signed-off-by: Mike Holmes --- v2: remove endian.h it should be cleaned up during configuration / build platform/linux-generic/include/api/odp_debug.h | 3 +-- platform/linux-generic/include/api/odp_std_types.h | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/include/api/odp_debug.h b/platform/linux-generic/include/api/odp_debug.h index c9b2edd..99f4574 100644 --- a/platform/linux-generic/include/api/odp_debug.h +++ b/platform/linux-generic/include/api/odp_debug.h @@ -12,8 +12,7 @@ #ifndef ODP_DEBUG_H_ #define ODP_DEBUG_H_ -#include -#include +#include #ifdef __cplusplus extern "C" { diff --git a/platform/linux-generic/include/api/odp_std_types.h b/platform/linux-generic/include/api/odp_std_types.h index b12a2f3..e3aa5ab 100644 --- a/platform/linux-generic/include/api/odp_std_types.h +++ b/platform/linux-generic/include/api/odp_std_types.h @@ -26,6 +26,8 @@ extern "C" { #include #include #include +#include +#include