diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 3 | ||||
-rw-r--r-- | source3/include/smb.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index fc718961a9..24fb84c803 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -29,6 +29,7 @@ #ifdef AIX #define DEFAULT_PRINTING PRINT_AIX +#define PRINTCAP_NAME "/etc/qconfig" #endif #ifdef HPUX @@ -543,8 +544,10 @@ extern int errno; #ifndef DEFAULT_PRINTING #ifdef SYSV #define DEFAULT_PRINTING PRINT_SYSV +#define PRINTCAP_NAME "lpstat" #else #define DEFAULT_PRINTING PRINT_BSD +#define PRINTCAP_NAME "/etc/printcap" #endif #endif diff --git a/source3/include/smb.h b/source3/include/smb.h index 0f1683e3c9..0ffbcded13 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -54,10 +54,6 @@ typedef int BOOL; #define DEF_CREATE_MASK (0755) #endif -#ifndef PRINTCAP_NAME -#define PRINTCAP_NAME "/etc/printcap" -#endif - /* how long to wait for secondary SMB packets (milli-seconds) */ #define SMB_SECONDARY_WAIT (60*1000) |