aports/main/libnfs/fix-includes.patch
prspkt f8ec2d2e84 main/libnfs: upgrade to 3.0.0, clarify license
The fix-includes.patch explicitly includes <sys/time.h> in order to resolve
incomplete type {a,c,m}time definitions.
2018-08-16 20:55:00 +00:00

11 lines
257 B
Diff

--- a/include/nfsc/libnfs.h
+++ b/include/nfsc/libnfs.h
@@ -24,6 +24,7 @@
#define _LIBNFS_H_
#include <stdint.h>
+#include <sys/time.h>
#if defined(__ANDROID__) || defined(AROS) \
|| ( defined(__APPLE__) && defined(__MACH__) )
#include <sys/time.h>