Commit Diff


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 <assert.h>
 #include <errno.h>
 #include <poll.h>
 #include <stdarg.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>