Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752657AbbBPXSJ (ORCPT ); Mon, 16 Feb 2015 18:18:09 -0500 Received: from mail.kapsi.fi ([217.30.184.167]:44876 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751800AbbBPXGe (ORCPT ); Mon, 16 Feb 2015 18:06:34 -0500 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli , David Airlie , dri-devel@lists.freedesktop.org, linux-api@vger.kernel.org Subject: [PATCH 06/45] drm_mode.h: include stdint.h and linux/types.h in userspace Date: Tue, 17 Feb 2015 00:05:09 +0100 Message-Id: <1424127948-22484-7-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> References: <1424127948-22484-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a02:8070:d1af:b300:219:d2ff:fe03:c7a9 X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 882 Lines: 34 Fixes compilation error: drm/drm_mode.h:472:2: error: unknown type name ‘uint32_t’ Signed-off-by: Mikko Rapeli --- include/uapi/drm/drm_mode.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h index a0db2d4a..c55dfdf 100644 --- a/include/uapi/drm/drm_mode.h +++ b/include/uapi/drm/drm_mode.h @@ -27,7 +27,12 @@ #ifndef _DRM_MODE_H #define _DRM_MODE_H +#ifdef __KERNEL__ #include +#else +#include +#include +#endif #define DRM_DISPLAY_INFO_LEN 32 #define DRM_CONNECTOR_NAME_LEN 32 -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/