29 lines
616 B
Plaintext
29 lines
616 B
Plaintext
$NetBSD: patch-af,v 1.2 2008/09/10 13:32:47 taca Exp $
|
|
|
|
--- image/image.h.orig 2004-07-29 00:47:31.000000000 +0900
|
|
+++ image/image.h
|
|
@@ -10,6 +10,9 @@
|
|
|
|
#include "copyright.h"
|
|
#include <stdio.h>
|
|
+#ifdef HAVE_STDLIB_H
|
|
+#include <stdlib.h>
|
|
+#endif
|
|
|
|
#if defined(SYSV) || defined(VMS) || 1
|
|
#include <string.h>
|
|
@@ -182,13 +185,8 @@ unsigned long doMemToValLSB();
|
|
unsigned long doValToMemLSB();
|
|
void flipBits();
|
|
|
|
-#ifdef __APPLE__
|
|
-/* darwin has zopen() */
|
|
ZFILE *zzopen(); /* zio.c */
|
|
#define zopen zzopen
|
|
-#else
|
|
-ZFILE *zopen(); /* zio.c */
|
|
-#endif
|
|
int zread();
|
|
int zgetc();
|
|
char *zgets();
|