summaryrefslogtreecommitdiffstats
path: root/utils/hplip/patches/090-include-stdint.patch
blob: 80a6e3bfed31c06759c250ace1d841300a323602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Sander van Deijck <sander@vandeijck.com>
Date: Fri, 30 Oct 2026 12:00:00 +0100
Subject: [PATCH] OrbliteScan: include stdint.h before LinuxCommon.h

LinuxCommon.h uses int64_t and uint64_t, but only includes
<sys/types.h>, which does not define uint64_t with glibc. Include
<stdint.h> first.

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
---
 scan/sane/OrbliteScan/MacCommon.h | 1 +
 1 file changed, 1 insertion(+)

--- a/scan/sane/OrbliteScan/MacCommon.h
+++ b/scan/sane/OrbliteScan/MacCommon.h
@@ -7,6 +7,7 @@
 #endif
 
 #ifdef __linux__
+#    include <stdint.h>
 #    include "LinuxCommon.h"
 #endif