b76dd034a1
- Add support for more xbm files - Make this port respect CC and CFLAGS
26 lines
566 B
Plaintext
26 lines
566 B
Plaintext
--- pbmplus.h.orig Tue Mar 1 10:46:36 1994
|
|
+++ pbmplus.h Mon Jan 11 00:33:32 1999
|
|
@@ -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_*/
|