summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_libXNVCtrl_NVCtrl.c
blob: 2810288f5d1bcc19aeedaa48809097666054f865 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- third_party/libXNVCtrl/NVCtrl.c.orig	2017-12-30 16:57:06.449527000 +0100
+++ third_party/libXNVCtrl/NVCtrl.c	2017-12-30 16:57:57.055972000 +0100
@@ -27,10 +27,6 @@
  * libXNVCtrl library properly protects the Display connection.
  */
 
-#if !defined(XTHREADS)
-#define XTHREADS
-#endif /* XTHREADS */
-
 #define NEED_EVENTS
 #define NEED_REPLIES
 #include <stdint.h>
@@ -39,6 +35,11 @@
 #include <X11/Xutil.h>
 #include <X11/extensions/Xext.h>
 #include <X11/extensions/extutil.h>
+
+#if !defined(XTHREADS)
+#define XTHREADS
+#endif /* XTHREADS */
+
 #include "NVCtrlLib.h"
 #include "nv_control.h"