summaryrefslogtreecommitdiff
path: root/print/hplip/files/patch-scan_sane_http.c
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2023-06-25 16:30:09 +0200
committerTijl Coosemans <tijl@FreeBSD.org>2023-06-25 16:44:03 +0200
commit1237feacf2ac1214abeb3b68b3f6412b7a90c418 (patch)
tree57a1f71445113274533abd5978e9fb7b9fdf5fa3 /print/hplip/files/patch-scan_sane_http.c
parentx11/xpra-html5: Update to 8.1 (diff)
print/hplip: Fix build with llvm16
PR: 272171
Diffstat (limited to 'print/hplip/files/patch-scan_sane_http.c')
-rw-r--r--print/hplip/files/patch-scan_sane_http.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/print/hplip/files/patch-scan_sane_http.c b/print/hplip/files/patch-scan_sane_http.c
new file mode 100644
index 000000000000..6b58cfb83c23
--- /dev/null
+++ b/print/hplip/files/patch-scan_sane_http.c
@@ -0,0 +1,10 @@
+--- scan/sane/http.c.orig 2023-06-02 08:02:36 UTC
++++ scan/sane/http.c
+@@ -36,6 +36,7 @@
+ #include <string.h>
+ #include <syslog.h>
+ #include <ctype.h>
++#include <unistd.h>
+ #include "hpmud.h"
+ #include "http.h"
+