about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-24 12:06:00 -0400
committerJune McEnroe <june@causal.agency>2020-07-24 12:06:00 -0400
commit7033a84c0629243e5380463614ddadbddeb7cd2d (patch)
tree49bd7840eaba7466160cb0bc9ea26a85a6d6be73
parentRewrite configure script for all platforms, add OpenBSD (diff)
downloadlitterbox-7033a84c0629243e5380463614ddadbddeb7cd2d.tar.gz
litterbox-7033a84c0629243e5380463614ddadbddeb7cd2d.zip
Fix select #define
-rw-r--r--scoop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/scoop.c b/scoop.c
index c4a7736..4721c73 100644
--- a/scoop.c
+++ b/scoop.c
@@ -37,11 +37,11 @@
 #include <sysexits.h>
 #include <unistd.h>
 
-// Curse you, macOS.
-#define select select_
-
 #include "database.h"
 
+// Look I never asked for select(2) to be declared.
+#define select select_
+
 #ifndef SQLITE3_BIN
 #define SQLITE3_BIN "sqlite3"
 #endif