ports/www/iridium/files/patch-third__party_libXNVCtrl_NVCtrl.c
Carlos J. Puga Medina 66d46c9897 www/iridium: Update to 2019.04.73
Submitted by:	Matthias Wolf <matthias@rheinwolf.de>
2019-06-18 19:24:43 +00:00

25 lines
557 B
C

--- third_party/libXNVCtrl/NVCtrl.c.orig 2019-03-11 22:01:15 UTC
+++ third_party/libXNVCtrl/NVCtrl.c
@@ -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"