xref: /OK3568_Linux_fs/buildroot/package/w_scan/0001-musl.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1Fix musl build
2
3Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
4
5diff -uNr w_scan-20141122.org/descriptors.h w_scan-20141122/descriptors.h
6--- w_scan-20141122.org/descriptors.h	2014-11-22 09:49:26.000000000 +0100
7+++ w_scan-20141122/descriptors.h	2016-01-24 14:05:21.000000000 +0100
8@@ -28,6 +28,7 @@
9 #ifndef __DESCRIPTORS_H__
10 #define __DESCRIPTORS_H__
11
12+#include <time.h>
13 #include "extended_frontend.h"
14
15 /******************************************************************************
16diff -uNr w_scan-20141122.org/version.h w_scan-20141122/version.h
17--- w_scan-20141122.org/version.h	2014-11-22 11:59:56.000000000 +0100
18+++ w_scan-20141122/version.h	2016-01-24 14:06:33.000000000 +0100
19@@ -1,6 +1,6 @@
20 /* AUTOMATICALLY GENERATED - DO NOT EDIT MANUALLY */
21 #ifndef W_SCAN_VERSION_H
22 #define W_SCAN_VERSION_H
23-uint version=20170107;
24+unsigned int version=20170107;
25 #endif
26
27