diff options
Diffstat (limited to 'Tests/X11/X11.c')
-rw-r--r-- | Tests/X11/X11.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/X11/X11.c b/Tests/X11/X11.c index b877b31..fae9999 100644 --- a/Tests/X11/X11.c +++ b/Tests/X11/X11.c @@ -1,3 +1,5 @@ +#ifdef CMAKE_HAS_X + #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -36,3 +38,11 @@ char **argv; } +#else + +int main() +{ + return 0; +} + +#endif |