From patchwork Fri Oct 31 18:25:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 39957 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D14D32405B for ; Fri, 31 Oct 2014 18:25:57 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id n15sf4439103lbi.10 for ; Fri, 31 Oct 2014 11:25:56 -0700 (PDT) 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: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=8tlqV4t6pH2SBDsR+0Sz1maG4GL5OHHDwyruLNQIdXI=; b=HiAcrOW14vMlTO/91rEQfu8XQnR50zvII2fxUw+9tdtkpMpxi6nnVdyN41kQbp0nt6 IYRJTdMoEBmtx81s5igD9DHsFq0YZedjBEvAMl9/Di4ltGzgQqosZlTIp9kInUY8gwIe ldgfVWF6r27EmfMg7BFc0NW3/7j7L7+qFatGlxzxYw7x8Z1JITgDL+K4nDpBvnE8hVNc TGpmNCvHz0KlV0pGyameenuIDPyfR5VIsT0T3WXMjdQwL+2QkVddCe0RFf9cbR5b6xkY X3L/rSQXi4X7cozV0ZgKS+nGWhXcNZIkxT9i9ePRgi8EVEK8NwcQY2e1UXfTI7YHqt56 u1YQ== X-Gm-Message-State: ALoCoQlVI8kWU4RTakWU6vRdInOpnbvtl0jodE+hH6j0jQX/Ig8eH0gUT60wcNcE0Qde1CHL/Nhb X-Received: by 10.181.8.194 with SMTP id dm2mr904382wid.2.1414779956225; Fri, 31 Oct 2014 11:25:56 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.8 with SMTP id lk8ls429736lac.17.gmail; Fri, 31 Oct 2014 11:25:56 -0700 (PDT) X-Received: by 10.152.3.229 with SMTP id f5mr4744186laf.94.1414779956069; Fri, 31 Oct 2014 11:25:56 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id ld7si17645868lab.2.2014.10.31.11.25.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Oct 2014 11:25:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id b6so6432110lbj.20 for ; Fri, 31 Oct 2014 11:25:56 -0700 (PDT) X-Received: by 10.112.14.69 with SMTP id n5mr28259504lbc.34.1414779955930; Fri, 31 Oct 2014 11:25:55 -0700 (PDT) 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.84.229 with SMTP id c5csp243182lbz; Fri, 31 Oct 2014 11:25:55 -0700 (PDT) X-Received: by 10.140.43.194 with SMTP id e60mr37785855qga.10.1414779954512; Fri, 31 Oct 2014 11:25:54 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id l7si18166042qge.108.2014.10.31.11.25.52 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 31 Oct 2014 11:25:54 -0700 (PDT) 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 1XkGtT-0006W5-JE; Fri, 31 Oct 2014 18:25:51 +0000 Received: from mail-qg0-f48.google.com ([209.85.192.48]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XkGtM-0006Vv-7b for lng-odp@lists.linaro.org; Fri, 31 Oct 2014 18:25:44 +0000 Received: by mail-qg0-f48.google.com with SMTP id q108so6040251qgd.21 for ; Fri, 31 Oct 2014 11:25:39 -0700 (PDT) X-Received: by 10.140.33.164 with SMTP id j33mr37241176qgj.23.1414779938941; Fri, 31 Oct 2014 11:25:38 -0700 (PDT) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id e8sm10017569qai.33.2014.10.31.11.25.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Oct 2014 11:25:38 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 31 Oct 2014 14:25:29 -0400 Message-Id: <1414779930-17602-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCH 1/2] 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.175 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 The public ODP API should not directly call Linux system headers Signed-off-by: Mike Holmes --- platform/linux-generic/include/api/odp_byteorder.h | 1 - platform/linux-generic/include/api/odp_debug.h | 3 +-- platform/linux-generic/include/api/odp_std_types.h | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/linux-generic/include/api/odp_byteorder.h b/platform/linux-generic/include/api/odp_byteorder.h index 79ddd75..6834ad9 100644 --- a/platform/linux-generic/include/api/odp_byteorder.h +++ b/platform/linux-generic/include/api/odp_byteorder.h @@ -18,7 +18,6 @@ extern "C" { #endif -#include #include #include diff --git a/platform/linux-generic/include/api/odp_debug.h b/platform/linux-generic/include/api/odp_debug.h index 0a20430..dad57a8 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..af8c35d 100644 --- a/platform/linux-generic/include/api/odp_std_types.h +++ b/platform/linux-generic/include/api/odp_std_types.h @@ -26,7 +26,9 @@ extern "C" { #include #include #include - +#include +#include +#include