From: David Herrmann Subject: [PATCH] xf86drmMode.h: Add header protection Date: Thu, 8 Mar 2012 15:34:08 +0100 Message-ID: <1331217248-15794-1-git-send-email-dh.herrmann@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f177.google.com (mail-ey0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 6DB669E796 for ; Thu, 8 Mar 2012 06:34:27 -0800 (PST) Received: by eaak13 with SMTP id k13so198010eaa.36 for ; Thu, 08 Mar 2012 06:34:26 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org Cc: David Herrmann List-Id: dri-devel@lists.freedesktop.org xf86drmMode.h is missing a header protection. xf86drm.h has one so just copy it and adjust the name. Signed-off-by: David Herrmann --- I am not sure if this is the correct mailing-list for libdrm nor who the actual maintainer is. Please correct me if I should CC someone else or post it to another list. Regards David xf86drmMode.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xf86drmMode.h b/xf86drmMode.h index 34f5fb1..991e3f9 100644 --- a/xf86drmMode.h +++ b/xf86drmMode.h @@ -33,6 +33,9 @@ * */ +#ifndef _XF86DRMMODE_H_ +#define _XF86DRMMODE_H_ + #if defined(__cplusplus) || defined(c_plusplus) extern "C" { #endif @@ -428,3 +431,5 @@ extern int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id, #if defined(__cplusplus) || defined(c_plusplus) } #endif + +#endif -- 1.7.9.3