diff options
Diffstat (limited to 'plpprint')
-rw-r--r-- | plpprint/plpprintd.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plpprint/plpprintd.cc b/plpprint/plpprintd.cc index e324a7e..6708d44 100644 --- a/plpprint/plpprintd.cc +++ b/plpprint/plpprintd.cc @@ -27,6 +27,7 @@ #include <stream.h> #include <string.h> #include <stdlib.h> +#include <stdarg.h> #include <stdio.h> #include <syslog.h> #include <unistd.h> @@ -38,7 +39,9 @@ #include <wprt.h> #include <psibitmap.h> +#ifndef _GNU_SOURCE #define _GNU_SOURCE +#endif #include <getopt.h> #define TEMPLATE "plpprint_XXXXXX" @@ -46,6 +49,8 @@ #define SPOOLDIR "/var/spool/plpprint" #define PSDICT "/prolog.ps" +using namespace std; + char *spooldir = SPOOLDIR; char *printcmd = PRINTCMD; wprt *wPrt; |