-
Notifications
You must be signed in to change notification settings - Fork 0
/
glibc-2.36.patch
27 lines (23 loc) · 954 Bytes
/
glibc-2.36.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- configure.ac
+++ configure.ac
@@ -1863,8 +1863,8 @@ AC_CHECK_HEADERS([sys/types.h \
# On OpenBSD, pthread.h must be included before pthread_np.h
AC_CHECK_HEADERS([pthread_np.h], [], [], [#include <pthread.h>])
-AC_CHECK_HEADERS([sys/statfs.h sys/statvfs.h sys/disk.h sys/disklabel.h])
-AC_CHECK_HEADERS([linux/hdreg.h linux/fs.h linux/major.h])
+AC_CHECK_HEADERS([sys/statfs.h sys/statvfs.h sys/disk.h sys/disklabel.h sys/mount.h])
+AC_CHECK_HEADERS([linux/hdreg.h linux/major.h])
AC_CHECK_HEADERS([sys/sysctl.h], [], [],
[[#ifdef HAVE_SYS_PARAM_H
index 37995b0be..6e960aaa7 100644
--- src/tscore/ink_file.cc
+++ src/tscore/ink_file.cc
@@ -52,8 +52,8 @@
#include <linux/hdreg.h> /* for struct hd_geometry */
#endif
-#if HAVE_LINUX_FS_H
-#include <linux/fs.h> /* for BLKGETSIZE. sys/mount.h is another candidate */
+#if HAVE_SYS_MOUNT_H
+#include <sys/mount.h> /* for BLKGETSIZE */
#endif
using ioctl_arg_t = union {