glx: Add missing include guards
Signed-off-by: Michał Janiszewski <janisozaur+signed@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:

committed by
Brian Paul

parent
8ebd7039c4
commit
ec994ca0fc
@@ -30,6 +30,9 @@
|
||||
* Kristian Høgsberg (krh@redhat.com)
|
||||
*/
|
||||
|
||||
#ifndef DRI2_PRIV_H
|
||||
#define DRI2_PRIV_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -82,3 +85,5 @@ dri2_interop_export_object(struct glx_context *ctx,
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@@ -23,6 +23,9 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef DRISW_PRIV_H
|
||||
#define DRISW_PRIV_H
|
||||
|
||||
#include <X11/extensions/XShm.h>
|
||||
|
||||
struct drisw_display
|
||||
@@ -73,3 +76,5 @@ drisw_query_renderer_integer(struct glx_screen *base, int attribute,
|
||||
_X_HIDDEN int
|
||||
drisw_query_renderer_string(struct glx_screen *base, int attribute,
|
||||
const char **value);
|
||||
|
||||
#endif
|
||||
|
@@ -26,6 +26,10 @@
|
||||
promote the sale, use or other dealings in this Software without
|
||||
prior written authorization.
|
||||
*/
|
||||
|
||||
#ifndef GLX_ERROR_H
|
||||
#define GLX_ERROR_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <X11/Xlib.h>
|
||||
@@ -45,3 +49,5 @@ _X_HIDDEN void __glXSendErrorForXcb(Display * dpy,
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user