Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

fix.patch

By: a guest on Dec 1st, 2012  |  syntax: Diff  |  size: 0.94 KB  |  hits: 125  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- backend/src/cnij_backend_common.c   2010-02-23 04:57:49.000000000 +0100
  2. +++ cnij_backend_common.c   2011-11-17 12:59:27.482025762 +0100
  3. @@ -38,6 +38,7 @@
  4.  // CUPS Header
  5.  #include <cups/cups.h>
  6.  #include <cups/ipp.h>
  7. +#include <cups/ppd.h>
  8.  
  9.  // Header file for CANON
  10.  #include "cnij_backend_common.h"
  11. --- cngpij/cngpij/bjcups.c   2010-02-23 04:57:49.000000000 +0100
  12. +++ bjcups.c   2011-11-17 12:59:27.482025762 +0100
  13. @@ -21,6 +21,7 @@
  14.  #include   <config.h>
  15.  #endif   // HAVE_CONFIG_H
  16.  
  17. +#define _IPP_PRIVATE_STRUCTURES 1
  18.  #include <cups/cups.h>
  19.  #include <cups/language.h>
  20.  #include <cups/ppd.h>
  21. --- cngpijmon/src/bjcupsmon_cups.c   2010-02-23 04:57:49.000000000 +0100
  22. +++ bjcupsmon_cups.c   2011-11-17 12:59:27.482025762 +0100
  23. @@ -18,7 +18,9 @@
  24.   */
  25.  
  26.  /*** Includes ***/
  27. +#define _IPP_PRIVATE_STRUCTURES 1
  28.  #include <cups/cups.h>
  29. +#include <cups/ppd.h>
  30.  #include <cups/language.h>
  31.  #include <sys/types.h>
  32.  #include <unistd.h>