hplip/hplip-misc-missing-includes-and-definitions.patch
Dominique Leuenberger b4c6de1fe0 - Add python3-setuptools BuildRequires: replaces the fix to
manually inject PYTHON_INCLUDEDIR. Fix needed to build against
  Python 3.13.

Fixes build in Staging_A (python 3.13) - and seems to address the real reaason why PYTHON_INCLUDEDIR needed to be injected

OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=262
2025-02-13 14:47:04 +00:00

13 lines
322 B
Diff

Index: hplip-3.20.9/scan/sane/http.c
===================================================================
--- hplip-3.20.9.orig/scan/sane/http.c
+++ hplip-3.20.9/scan/sane/http.c
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <syslog.h>
#include <ctype.h>