missing prototypes

This commit is contained in:
espie 2017-04-29 06:54:29 +00:00
parent a378c8f2a1
commit cb79f58294
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_file_cc,v 1.1 2017/04/29 06:54:29 espie Exp $
--- src/file.cc.orig Thu Apr 20 01:19:05 2017
+++ src/file.cc Thu Apr 20 01:19:26 2017
@@ -5,6 +5,7 @@
#include "throw.h"
#include "intl.h"
#include "file.h"
+#include <unistd.h>
CFileBase::CFileBase(): m_fp(NULL)
{

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_throw_cc,v 1.1 2017/04/29 06:54:29 espie Exp $
--- src/throw.cc.orig Thu Apr 20 01:17:50 2017
+++ src/throw.cc Thu Apr 20 01:18:04 2017
@@ -10,6 +10,7 @@
#include <cstring>
#include <cstdio>
#include <cerrno>
+#include <string>
#include "throw.h"
#include "intl.h"