From patchwork Mon Jun 22 17:58:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emil Velikov X-Patchwork-Id: 6657241 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 153D6C05AD for ; Mon, 22 Jun 2015 17:01:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2D49C205E8 for ; Mon, 22 Jun 2015 17:01:04 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 604CA205FC for ; Mon, 22 Jun 2015 17:01:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 797416E854; Mon, 22 Jun 2015 10:01:02 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by gabe.freedesktop.org (Postfix) with ESMTP id 49BA86E84F for ; Mon, 22 Jun 2015 10:01:01 -0700 (PDT) Received: by wiga1 with SMTP id a1so82910800wig.0 for ; Mon, 22 Jun 2015 10:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=KeuzC5XxNHVbBWKl/XFzdv01IPpnhc8Bx7PpmxtBl4Y=; b=mzRCin1+rMhGxhPmPSEgQ7a62Qv0Q6TYWh9mDwT3iA3T9MBvmnY4VGoSAESpVDLQ4U RmoI0xKnjfrDtDwz8xvz/Yx90QPskfrNmuUcXXsIgkNYSum2FGPTg+siDHZ4RlPZPEja Fc/oZ56vr6ixQMHmzS26ti69JXIm+2gj1SfJpQkIcnDc8NsVTXKdLkKMs2nbqUcHHZXP f20T8lDWLdQcQxir7fW2jnkf8x8NRjMR3Kk53dKwEZ3jKFvpYtHcoyt5wuQhdyh/l9Mb RleQ0JeD+/YJ+isHOQsoQ+QR/mLJWVLRgqNK0Y8YyC70qy49n0/gISVPTu9yIWj84B5R Zl2g== X-Received: by 10.180.198.10 with SMTP id iy10mr33557346wic.46.1434992460621; Mon, 22 Jun 2015 10:01:00 -0700 (PDT) Received: from arch-laptop.localdomain (cpc12-croy20-2-0-cust52.croy.cable.virginm.net. [82.44.54.53]) by mx.google.com with ESMTPSA id v4sm4931946wiy.5.2015.06.22.10.00.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Jun 2015 10:00:59 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Subject: [PATCH libdrm 2/2] xf86drmMode: include config.h before anything else Date: Mon, 22 Jun 2015 17:58:06 +0000 Message-Id: <1434995886-26446-2-git-send-email-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1434995886-26446-1-git-send-email-emil.l.velikov@gmail.com> References: <1434995886-26446-1-git-send-email-emil.l.velikov@gmail.com> Cc: emil.l.velikov@gmail.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Emil Velikov --- xf86drmMode.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/xf86drmMode.c b/xf86drmMode.c index 30ef6f2..71bd62f 100644 --- a/xf86drmMode.c +++ b/xf86drmMode.c @@ -37,14 +37,15 @@ * TODO the types we are after are defined in diffrent headers on diffrent * platforms find which headers to include to get uint32_t */ -#include -#include -#include #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include +#include +#include + #include "xf86drmMode.h" #include "xf86drm.h" #include