libuhttpd: fix compilation with uClibc-ng

Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-09-01 19:25:35 -07:00
parent 8966849a5a
commit 9a06c40481
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
--- a/src/file.c
+++ b/src/file.c
@@ -24,6 +24,7 @@
#define _DEFAULT_SOURCE
#define _XOPEN_SOURCE
+#define _FILE_OFFSET_BITS 64
#include <stdio.h>
#include <stdlib.h>