diff --git a/src/util/libdrm.h b/src/util/libdrm.h index 4bfe1d20166..d8ef0b55182 100644 --- a/src/util/libdrm.h +++ b/src/util/libdrm.h @@ -27,6 +27,9 @@ * the proliferation of #ifdef'ery to support environments without libdrm. */ +#ifndef LIBDRM_H +#define LIBDRM_H + #ifdef HAVE_LIBDRM #include #else @@ -147,3 +150,5 @@ static inline void drmFreeVersion(struct _drmVersion *v) {} #endif + +#endif