diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-02 03:42:10 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2006-10-02 03:42:10 +0000 |
commit | 0bf54ddfa2a0efcf6142ad1292abbfa26fe0bee3 (patch) | |
tree | 5e1255181517b72c3c5670da6be95e5ba8624614 /generator/pbmtextps.c | |
parent | 9184208ec40610f6856907fa00d814ae093d3e3b (diff) | |
download | netpbm-mirror-0bf54ddfa2a0efcf6142ad1292abbfa26fe0bee3.tar.gz netpbm-mirror-0bf54ddfa2a0efcf6142ad1292abbfa26fe0bee3.tar.xz netpbm-mirror-0bf54ddfa2a0efcf6142ad1292abbfa26fe0bee3.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@82 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator/pbmtextps.c')
-rw-r--r-- | generator/pbmtextps.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/generator/pbmtextps.c b/generator/pbmtextps.c index ef8ae008..236427ea 100644 --- a/generator/pbmtextps.c +++ b/generator/pbmtextps.c @@ -17,13 +17,15 @@ */ #define _XOPEN_SOURCE /* Make sure popen() is in stdio.h */ #define _BSD_SOURCE /* Make sure stdrup() is in string.h */ +#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> -#include "pbm.h" + #include "nstring.h" #include "shhopt.h" +#include "pbm.h" #define BUFFER_SIZE 2048 @@ -233,7 +235,7 @@ static void writeProgram(const char * const psFname, struct cmdlineInfo const cmdline) { - const char *ps; + const char * ps; FILE * psfile; psfile = fopen(psFname, "w"); |