From 1385e588051429cb3a9d7cc0f347c716e4bca227 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:18 +0000 Subject: [PATCH] egl/dri2: consistently use ifndef guards over pragma once MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- src/egl/drivers/dri2/egl_dri2_fallbacks.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/egl/drivers/dri2/egl_dri2_fallbacks.h b/src/egl/drivers/dri2/egl_dri2_fallbacks.h index 8dad27116df..67a9c5034a2 100644 --- a/src/egl/drivers/dri2/egl_dri2_fallbacks.h +++ b/src/egl/drivers/dri2/egl_dri2_fallbacks.h @@ -22,7 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ -#pragma once +#ifndef EGL_DRI2_FALLBACKS_INCLUDED +#define EGL_DRI2_FALLBACKS_INCLUDED #include "egltypedefs.h" @@ -116,3 +117,5 @@ dri2_fallback_get_sync_values(_EGLDisplay *dpy, _EGLSurface *surf, { return EGL_FALSE; } + +#endif /* EGL_DRI2_FALLBACKS_INCLUDED */ -- 2.30.2