commit 94d4c90827c3c0445bb6714f36664b41b474e91b
parent 8ca733d22bc164f60481bf18807d554f91d0691d
Author: Anton Kling <anton@kling.gg>
Date: Fri, 4 Mar 2022 21:46:02 +0100
Include sys/time.h.
Attempting to compile with musl without this include would cause errors.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/smol_http.c b/smol_http.c
@@ -27,6 +27,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <sys/sendfile.h>
#include <sys/socket.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <unistd.h>
// Should xxx.html not exist these will be supplied instead.