components/hplip/patches/02_HPCupsFilter.cpp.patch
branchs11-update
changeset 2646 86bc0997bd5f
parent 165 111c46cade93
child 3831 33bc4f8fb536
equal deleted inserted replaced
2645:6d96b69920f6 2646:86bc0997bd5f
     1 --- hplip-3.10.9-orig/prnt/hpcups/HPCupsFilter.cpp	Tue Dec 21 02:30:42 2010
     1 --- a/prnt/hpcups/HPCupsFilter.cpp      Tue Dec 21 02:30:42 2010
     2 +++ hplip-3.10.9/prnt/hpcups/HPCupsFilter.cpp	Tue Dec 21 02:31:05 2010
     2 +++ b/prnt/hpcups/HPCupsFilter.cpp      Tue Dec 21 02:31:05 2010
     3 @@ -35,6 +35,8 @@
     3 @@ -36,6 +36,8 @@
       
     4  #include <sys/utsname.h>
     4  #include <time.h>
     5  #include <time.h>
     5  #include <sys/timeb.h>
     6  #include <sys/timeb.h>
       
     7 +
       
     8 +extern "C" int getdomainname(char*, int);
     6  
     9  
     7 +extern "C" int getdomainname(char*, int);
       
     8 +
       
     9  #define HP_FILE_VERSION_STR    "03.09.08.0"
    10  #define HP_FILE_VERSION_STR    "03.09.08.0"
    10  
    11  
    11  static HPCupsFilter    filter;