termux-packages/packages/libnfs/add-timeh.patch

13 lines
369 B
Diff

diff -uNr libnfs-libnfs-3.0.0/lib/libnfs.c libnfs-libnfs-3.0.0.mod/lib/libnfs.c
--- libnfs-libnfs-3.0.0/lib/libnfs.c 2018-06-24 01:53:52.000000000 +0300
+++ libnfs-libnfs-3.0.0.mod/lib/libnfs.c 2019-01-30 19:06:40.638282264 +0200
@@ -66,6 +66,8 @@
#include <sys/sysmacros.h>
#endif
+#include <time.h>
+
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>