Skip to content

Commit 87e7ef5

Browse files
committed
(#8) Forgot Linux only include guard
1 parent 4062b4b commit 87e7ef5

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

src/keypress.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
#include "os.h"
66
#include "keycode.h"
7+
#if defined(USE_X11)
78
#include "xdisplay.h"
9+
#endif
810

911
#include <stdbool.h>
1012
#ifdef __cplusplus

src/mouse.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
#include "os.h"
66
#include "types.h"
7+
#if defined(USE_X11)
78
#include "xdisplay.h"
9+
#endif
810

911
#include <stdbool.h>
1012
#ifdef __cplusplus

src/screen.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
#include <stdint.h>
66
#include "types.h"
7+
#if defined(USE_X11)
78
#include "xdisplay.h"
9+
#endif
810

911
#include <stdbool.h>
1012

src/screengrab.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
#include "types.h"
66
#include "MMBitmap.h"
7+
8+
#if defined(USE_X11)
79
#include "xdisplay.h"
10+
#endif
811

912
#ifdef __cplusplus
1013
extern "C"

0 commit comments

Comments
 (0)