You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sane-airscan/SOURCES/0001-Fixed-missed-include-s...

27 lines
678 B

From c042a6895fe6f663d4bcb8c27d1c7b34fbd68b48 Mon Sep 17 00:00:00 2001
From: Alexander Pevzner <pzz@apevzner.com>
Date: Sat, 2 Dec 2023 21:49:40 +0300
Subject: [PATCH 1/2] Fixed missed #include <stdlib.h> (see #305)
This code used to compile on everywhere, but explicit #include <stdlib.h>
was actually missed. Seems that sometimes it can cause problems.
---
airscan-xml.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/airscan-xml.c b/airscan-xml.c
index f376f31..5071ca9 100644
--- a/airscan-xml.c
+++ b/airscan-xml.c
@@ -9,6 +9,7 @@
#include "airscan.h"
#include <fnmatch.h>
+#include <stdlib.h>
#include <libxml/parser.h>
#include <libxml/tree.h>
--
2.43.0