components/hplip/patches/03_ErnieFilter.cpp.patch
branchs11-update
changeset 3935 177c89f1f2cf
parent 2646 86bc0997bd5f
equal deleted inserted replaced
3931:2c8009f52a2b 3935:177c89f1f2cf
     1 --- a/prnt/hpcups/ErnieFilter.cpp	Mon Dec 27 00:02:08 2010
     1 Home brewed patch
     2 +++ b/prnt/hpcups/ErnieFilter.cpp	Mon Dec 27 00:03:19 2010
     2 
     3 @@ -50,6 +50,8 @@
     3 --- a/prnt/hpcups/ErnieFilter.cpp	2014-04-04 03:39:07.000000000 -0700
       
     4 +++ b/prnt/hpcups/ErnieFilter.cpp	2014-04-11 09:23:38.197875441 -0700
       
     5 @@ -50,7 +50,7 @@
     4  #include "ErnieFilter.h"
     6  #include "ErnieFilter.h"
     5  
     7  
     6  
     8  
     7 +extern "C" double ceil(double);
     9 -#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__)
     8 +
    10 +#if defined(__APPLE__) || defined(__linux) || defined(__GLIBC__) || defined(__NetBSD__) || defined (__sun) || defined (__sun__)
     9  #if defined(__APPLE__) || defined(__linux)
       
    10  #include <math.h>
    11  #include <math.h>
    11  #endif
    12  #endif
       
    13