blob: a2aa144101e5680613ba9885f187efe5b17b23c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-aa,v 1.4 2004/04/30 16:55:05 tv Exp $
--- src/platform.h.orig Fri Apr 30 12:25:28 2004
+++ src/platform.h
@@ -62,6 +62,7 @@
//FIXME: all stat stuff should be included in the platform.cpp file!
#include <sys/stat.h>
#ifdef STDC_HEADERS
+# include STD_LIB_NAME(errno)
# include STD_LIB_NAME(stdlib)
# include STD_LIB_NAME(stddef)
#else // ! STDC_HEADERS
@@ -91,7 +92,6 @@
# include <unicode/ucnv.h>
#elif defined(HAVE_ICONV_H)
# include <iconv.h>
-# include STD_LIB_NAME(errno)
#endif
#ifdef HAVE_UNISTD_H
|