find proto for missing identifiers

This commit is contained in:
espie 2017-05-01 21:00:15 +00:00
parent d834cd21a8
commit 3860a20277
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-source_effects_cc,v 1.1 2017/05/01 21:00:15 espie Exp $
Index: source/effects.cc
--- source/effects.cc.orig
+++ source/effects.cc
@@ -13,6 +13,7 @@
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include "externs.h"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-source_it_use3_cc,v 1.1 2017/05/01 21:00:15 espie Exp $
Index: source/it_use3.cc
--- source/it_use3.cc.orig
+++ source/it_use3.cc
@@ -15,6 +15,7 @@
#include "it_use3.h"
#include <string.h>
+#include <stdlib.h>
#include "externs.h"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-source_randart_cc,v 1.1 2017/05/01 21:00:15 espie Exp $
Index: source/randart.cc
--- source/randart.cc.orig
+++ source/randart.cc
@@ -17,6 +17,7 @@
#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#include "externs.h"
#include "itemname.h"

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-source_tags_cc,v 1.1 2017/05/01 21:00:15 espie Exp $
Index: source/tags.cc
--- source/tags.cc.orig
+++ source/tags.cc
@@ -55,6 +55,7 @@
#include <stdio.h>
#include <string.h> // for memcpy
+#include <stdlib.h>
#ifdef LINUX
#include <sys/types.h>