rework langinfo code for ABI compat and for use by time code
[musl] / src / linux / sync_file_range.c
index 739e602..6859abc 100644 (file)
@@ -1,5 +1,6 @@
 #define _GNU_SOURCE
 #include <fcntl.h>
+#include <errno.h>
 #include "syscall.h"
 
 int sync_file_range(int fd, off_t pos, off_t len, unsigned flags)