]> arthur.barton.de Git - netatalk.git/blobdiff - etc/papd/lp.c
implemented config.h
[netatalk.git] / etc / papd / lp.c
index ed1c32a9e5804a1e224d69b557919dde51c9e252..fbfc2be916fa2756c7921e0746f45dfb6d77a7d4 100644 (file)
  * Interface to lpr system.
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <sys/param.h>
 #include <sys/syslog.h>
 #include <sys/time.h>
@@ -181,7 +185,7 @@ lp_init( out, sat )
     char       cost[ 22 ];
     char       balance[ 22 ];
 #endif ABS_PRINT
-#ifdef CAPDIR
+#if defined( CAPDIR ) || defined( USE_CAP )
     char       username[32];
     int                addr_net, addr_node;
     FILE       *cap_file;