Skip to content

Commit f301532

Browse files
committed
Bring back a dummy version of cups/ppd.h for macOS.
1 parent 26dd9d7 commit f301532

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

cups/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ HEADERS = \
9797
ipp.h \
9898
json.h \
9999
language.h \
100+
ppd.h \
100101
pwg.h \
101102
raster.h \
102103
thread.h \

cups/ppd.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// Dummy PPD header file for CUPS v3.
3+
//
4+
// This header works around a bug in the macOS AppKit headers which include
5+
// the old CUPS PPD header.
6+
//
7+
// Copyright © 2021-2022 by OpenPrinting.
8+
//
9+
// Licensed under Apache License v2.0. See the file "LICENSE" for more
10+
// information.
11+
//
12+
13+
#ifndef _CUPS_PPD_H_
14+
# define _CUPS_PPD_H_
15+
#endif // !_CUPS_PPD_H_

0 commit comments

Comments
 (0)