try to fix sun
This commit is contained in:
parent
147e5e8702
commit
7ea6c4fcbe
4 changed files with 5 additions and 0 deletions
|
|
@ -45,3 +45,4 @@ void *galloc(void *, int, char *);
|
||||||
void pagelist(char *);
|
void pagelist(char *);
|
||||||
|
|
||||||
int safe_tmpnam(char*);
|
int safe_tmpnam(char*);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,8 @@ extern double pagewidth;
|
||||||
extern int reading; /* input */
|
extern int reading; /* input */
|
||||||
extern int writing; /* and output encoding */
|
extern int writing; /* and output encoding */
|
||||||
|
|
||||||
|
#define getopt ps_getopt
|
||||||
|
int getopt(int, char**, char*);
|
||||||
extern char *optarg; /* for getopt() */
|
extern char *optarg; /* for getopt() */
|
||||||
extern int optind;
|
extern int optind;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include "ext.h"
|
||||||
#define ERR(str, chr) if(opterr){fprintf(stderr, "%s%s%c\n", argv[0], str, chr);}
|
#define ERR(str, chr) if(opterr){fprintf(stderr, "%s%s%c\n", argv[0], str, chr);}
|
||||||
int opterr = 1;
|
int opterr = 1;
|
||||||
int optind = 1;
|
int optind = 1;
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <libc.h>
|
#include <libc.h>
|
||||||
|
|
||||||
|
#include "../common/ext.h"
|
||||||
#include "comments.h" /* PostScript file structuring comments */
|
#include "comments.h" /* PostScript file structuring comments */
|
||||||
#include "gen.h" /* general purpose definitions */
|
#include "gen.h" /* general purpose definitions */
|
||||||
#include "path.h" /* for temporary directory */
|
#include "path.h" /* for temporary directory */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue