diff options
Diffstat (limited to 'platform/linuxbsd/detect_prime_x11.h')
-rw-r--r-- | platform/linuxbsd/detect_prime_x11.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/platform/linuxbsd/detect_prime_x11.h b/platform/linuxbsd/detect_prime_x11.h index e60f9ebfdf..7eb7064cc5 100644 --- a/platform/linuxbsd/detect_prime_x11.h +++ b/platform/linuxbsd/detect_prime_x11.h @@ -28,10 +28,13 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifdef X11_ENABLED -#if defined(GLES3_ENABLED) +#ifndef DETECT_PRIME_X11_H +#define DETECT_PRIME_X11_H + +#if defined(X11_ENABLED) && defined(GLES3_ENABLED) int detect_prime(); -#endif -#endif +#endif // X11_ENABLED && GLES3_ENABLED + +#endif // DETECT_PRIME_X11_H |