commit cc89e101c87c7ed5a85ba73d65148cdc876c1b02 from: Omar Polo date: Sat Sep 02 08:10:21 2023 UTC amused-web: first round of portability tweaks We still need an implementation of SHA1Init() & co, which on linux is not in libc (but is available with the same APIs in libmd.) commit - b42d807fdc985cb3182193acd8220e9190857ae2 commit + cc89e101c87c7ed5a85ba73d65148cdc876c1b02 blob - d40f9a527fa020bf0e70843b30c6fe2e38585697 blob + e921426e3c074a8e6f511e046843c12195bf5c66 --- web/Makefile +++ web/Makefile @@ -3,7 +3,7 @@ PROG = amused-web SOURCES = web.c bufio.c http.c ws.c \ - ../ev.c ../log.c ../playlist.c ../xmalloc.c + ../compats.c ../ev.c ../log.c ../playlist.c ../xmalloc.c OBJS = ${SOURCES:.c=.o} blob - 2ac55ff421bd9138cb0ba175c1effde736316b60 blob + 636cacdc9a1de01019b34182c0f749ab55c144b7 --- web/bufio.c +++ web/bufio.c @@ -23,10 +23,13 @@ * OTHER DEALINGS IN THE SOFTWARE. */ +#include "config.h" + #include #include #include #include +#include #include #include #include