--- panels/printers/pp-printer.c.orig 2017-11-01 06:04:03.000000000 -0700 +++ panels/printers/pp-printer.c 2017-12-27 20:52:12.000000000 -0800 @@ -26,6 +26,10 @@ #define IPP_STATE_IDLE IPP_IDLE #endif +#ifndef ippGetState +#define ippGetState(ipp) ipp->state +#endif + typedef struct _PpPrinter PpPrinter; typedef struct _PpPrinterPrivate PpPrinterPrivate;