35 lines
855 B
Plaintext
35 lines
855 B
Plaintext
--- pbmplus.h.orig Tue Mar 1 03:46:36 1994
|
|
+++ pbmplus.h Tue Feb 8 18:01:26 2000
|
|
@@ -42,7 +42,7 @@
|
|
** hex and decimal forms to specify colors (see ppm/pgmtoppm.1 for details).
|
|
*/
|
|
#ifndef RGB_DB
|
|
-#define RGB_DB "/usr/lib/X11/rgb"
|
|
+#define RGB_DB "/usr/X11R6/lib/X11/rgb"
|
|
/*#define RGB_DB "/usr/openwin/lib/rgb.txt"*/
|
|
#ifdef VMS
|
|
#define RGB_DB "PBMplus_Dir:RGB.TXT"
|
|
@@ -119,10 +119,12 @@
|
|
#ifndef VMS
|
|
#include <unistd.h>
|
|
#endif
|
|
+#ifndef __OpenBSD__
|
|
extern int atoi();
|
|
extern void exit();
|
|
extern long time();
|
|
extern int write();
|
|
+#endif /* OpenBSD */
|
|
#endif
|
|
|
|
/* CONFIGURE: On most BSD systems, malloc() gets declared in stdlib.h, on
|
|
@@ -275,5 +277,9 @@
|
|
int vfprintf ARGS(( FILE* stream, char* format, va_list args ));
|
|
#endif /*NEED_VFPRINTF*/
|
|
|
|
+#ifdef __OpenBSD__
|
|
+#include <errno.h>
|
|
+#define A_STRERROR
|
|
+#endif
|
|
|
|
#endif /*_PBMPLUS_H_*/
|