firebird: fix build with glibc >= 2.28

resolves void-linux/void-packages#3878
This commit is contained in:
maxice8 2018-10-18 00:26:27 -03:00 committed by maxice8
parent 72b13b6525
commit 17dce52c6f
2 changed files with 14 additions and 11 deletions

View File

@ -0,0 +1,14 @@
--- src/jrd/perf.h 2018-01-05
+++ src/jrd/perf.h 2018-08-20
@@ -31,10 +31,6 @@
#ifndef JRD_PERF_H
#define JRD_PERF_H
-#ifdef LINUX
-#include <libio.h>
-#endif
-
#ifdef HAVE_TIMES
#include <sys/types.h>
#include <sys/times.h>

View File

@ -1,11 +0,0 @@
--- src/jrd/perf.h 2015-03-27 14:46:58.000000000 +0100
+++ src/jrd/perf.h 2016-02-24 15:38:06.674716837 +0100
@@ -31,7 +31,7 @@
#ifndef JRD_PERF_H
#define JRD_PERF_H
-#ifdef LINUX
+#if defined(LINUX) && defined(__GLIBC__)
#include <libio.h>
#endif