summaryrefslogtreecommitdiffstats
path: root/src/qmode.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-11 11:12:58 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-11 11:12:58 +0200
commit83bcb7358c6475468db639cd47ef6e4f4e9dbee3 (patch)
tree2d180188cabeebcaaa6f116f4aef688e0041822d /src/qmode.c
parent67d3e4de708620d0e129c313ecccecd5893b5df3 (diff)
download0xFFFF-83bcb7358c6475468db639cd47ef6e4f4e9dbee3.tar.bz2
Rewrite Makefile, move WITH_DEVICE, WITH_USB and WITH_SQUEUES to Makefile
Diffstat (limited to 'src/qmode.c')
-rw-r--r--src/qmode.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/qmode.c b/src/qmode.c
index e83fe66..4ae1128 100644
--- a/src/qmode.c
+++ b/src/qmode.c
@@ -27,15 +27,11 @@
#include <sys/wait.h>
#include <sys/stat.h>
+#include "global.h"
+
#include "qmode.h"
#include "nolo.h"
-#if __linux__ || __NetBSD__ || __FreBSD__ || __OpenBSD__ || __Darwin__ || __MacOSX__
-#define HAVE_SQUEUE 1
-#else
-#define HAVE_SQUEUE 0
-#endif
-
#if HAVE_SQUEUE
#include "squeue/squeue.h"