summaryrefslogtreecommitdiff
path: root/media-gfx/sane-backends/files/sane-backends-1.0.30-missing-stdint-include.patch
blob: 14c97ae95bf6acc4dab00c39f67ad40c0e96ad60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
https://gitlab.com/sane-project/backends/-/issues/314
https://gitlab.com/sane-project/backends/-/commit/6bb87fdf1f3dc190cfc4b7d64b0c8c8c3d10151b.diff
--- a/sanei/sanei_usb.c
+++ b/sanei/sanei_usb.c
@@ -48,6 +48,9 @@
 
 #include "../include/sane/config.h"
 
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
 #include <stdlib.h>
 #include <ctype.h>
 #include <sys/types.h>