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
Diffstat (limited to '')
-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
e McEnroe 2019-10-23Set clients non-blockingJune McEnroe 2019-10-23Clean up state.c and factor out parsingJune McEnroe 2019-10-23Respond to pingsJune McEnroe 2019-10-23Add verbose flagJune McEnroe 2019-10-23Set NOSIGPIPE on server connectionJune McEnroe 2019-10-23Set an initial loop capJune McEnroe 2019-10-23Fix rest parsingJune McEnroe 2019-10-23Add dynamic poll listJune McEnroe 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe