diff options
author | June McEnroe <june@causal.agency> | 2020-07-24 12:06:00 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-07-24 12:06:00 -0400 |
commit | 7033a84c0629243e5380463614ddadbddeb7cd2d (patch) | |
tree | 49bd7840eaba7466160cb0bc9ea26a85a6d6be73 /scoop.c | |
parent | Rewrite configure script for all platforms, add OpenBSD (diff) | |
download | litterbox-7033a84c0629243e5380463614ddadbddeb7cd2d.tar.gz litterbox-7033a84c0629243e5380463614ddadbddeb7cd2d.zip |
Fix select #define
Diffstat (limited to '')
-rw-r--r-- | scoop.c | 6 |
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 |