diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-16 20:46:57 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-09-16 20:46:57 +0200 |
commit | 7d736e6e6f9418bdcec0d73a3e475c43571adcf5 (patch) | |
tree | ca4ab91cb45ecdd121bdb6bcf71837adf90c059b | |
parent | tor 14 sep 2023 09:38:47 CEST (diff) | |
download | wiki-public-7d736e6e6f9418bdcec0d73a3e475c43571adcf5.tar.gz wiki-public-7d736e6e6f9418bdcec0d73a3e475c43571adcf5.tar.xz |
lör 16 sep 2023 20:46:57 CEST
-rw-r--r-- | wiki.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,5 +1,3 @@ - - #include <errno.h> #include <glob.h> #include <libgen.h> @@ -17,10 +15,12 @@ #include <sys/wait.h> #include <time.h> #include <unistd.h> +/** Couldn't find any other way to get MAP_ANON on BSD */ #define __BSD_VISIBLE 1 #include <sys/mman.h> #undef __BSD_VISIBLE +#if 0 #ifdef __linux__ #include <linux/futex.h> #include <sys/syscall.h> @@ -42,6 +42,7 @@ void suspend() { void wake(); #endif +#endif #include <syslog.h> #include <dirent.h> |