firebird: fix build with glibc >= 2.28
resolves void-linux/void-packages#3878
This commit is contained in:
parent
72b13b6525
commit
17dce52c6f
|
@ -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>
|
||||
|
|
@ -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
|
||||
|
Loading…
Reference in New Issue