20 lines
431 B
Plaintext
20 lines
431 B
Plaintext
$OpenBSD: patch-Xwnmo_xjutil_init_w_c,v 1.2 2017/04/29 14:31:40 espie Exp $
|
|
--- Xwnmo/xjutil/init_w.c.orig
|
|
+++ Xwnmo/xjutil/init_w.c
|
|
@@ -35,6 +35,7 @@
|
|
/* Version 4.0
|
|
*/
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include "commonhd.h"
|
|
#include "sdefine.h"
|
|
#include "xjutil.h"
|
|
@@ -76,7 +77,6 @@ env_state()
|
|
char *p;
|
|
char ret = '\0';
|
|
#ifndef SYSVR2
|
|
- extern char *index();
|
|
#else
|
|
extern char *strchr();
|
|
#endif
|