From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:18 +0000 (+0000) Subject: egl/dri2: consistently use ifndef guards over pragma once X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1385e588051429cb3a9d7cc0f347c716e4bca227;p=mesa.git egl/dri2: consistently use ifndef guards over pragma once Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- 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 */