blob: 42cd4c051d4bfbd64c92d7740a4717d5f111d26a (
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
25
26
27
28
29
|
From 1204c841999808ba27267a0039777dcbccdcd6e3 Mon Sep 17 00:00:00 2001
From: toonn <toonn@toonn.io>
Date: Sun, 27 Jun 2021 12:30:08 +0200
Subject: [PATCH] TargetConditionals
---
test/ippserver.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/test/ippserver.c b/test/ippserver.c
index 38b304f..68ccab1 100644
--- a/test/ippserver.c
+++ b/test/ippserver.c
@@ -25,7 +25,11 @@
* Include necessary headers...
*/
-#include <config.h> /* CUPS configuration header */
+#ifdef __APPLE__
+# include <xcode/config.h> /* CUPS configuration header macOS */
+#else
+# include <config.h> /* CUPS configuration header */
+#endif /* __APPLE__ */
#include <cups/cups.h> /* Public API */
#include <cups/string-private.h> /* CUPS string functions */
#include <cups/thread-private.h> /* For multithreading functions */
--
2.17.2 (Apple Git-113)
|