28 lines
515 B
Plaintext
28 lines
515 B
Plaintext
$OpenBSD: patch-viz_c,v 1.2 2010/05/23 16:13:33 espie Exp $
|
|
--- viz.c.orig Fri Apr 14 15:30:56 1995
|
|
+++ viz.c Sun May 23 18:09:40 2010
|
|
@@ -51,18 +51,22 @@
|
|
#include "string.h"
|
|
#include "memory.h"
|
|
#include <errno.h>
|
|
+#include <stdlib.h>
|
|
|
|
#define VIZ_MAIN
|
|
#include "viz.h"
|
|
|
|
+#ifndef _SYS_ERRNO_H_
|
|
extern errno;
|
|
extern int sys_nerr;
|
|
extern char *sys_errlist[];
|
|
+#endif
|
|
|
|
-
|
|
+#ifndef _STDLIB_H_
|
|
extern char *malloc();
|
|
extern optind, opterr;
|
|
extern char *optarg;
|
|
+#endif
|
|
|
|
char *prog;
|
|
struct Format Fmt = {
|