packages/libs/liburing/patches/000-OPENWRT-add-int64_t-detection.patch
Christian Lachner bded5cdbbc liburing: new package: liburing v0.6
- Add initial Makefile
- Add patch to fix inttypes.h inclusion when __kernel_timespec is unavailable

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-06-30 11:18:44 +02:00

11 lines
219 B
Diff

--- ./configure
+++ ./configure
@@ -301,6 +301,8 @@
fi
if test "$__kernel_timespec" != "yes"; then
cat >> $compat_h << EOF
+#include <inttypes.h>
+
struct __kernel_timespec {
int64_t tv_sec;
long long tv_nsec;