aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@gmail.com>2022-01-05 12:13:22 +0000
committerWarner Losh <imp@FreeBSD.org>2022-01-07 14:52:34 +0000
commitf5ccb3a33e23797b98860cea497d989a338af446 (patch)
tree2929b838ab27d57655d3279f2834c37534763b54 /lib
parent2891a2805289dc4fe221eb4901b9edb6f9559dd8 (diff)
Diffstat (limited to 'lib')
-rw-r--r--lib/libmagic/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h
index 35d090dd48b9..f19fc581f6f5 100644
--- a/lib/libmagic/config.h
+++ b/lib/libmagic/config.h
@@ -127,7 +127,9 @@
#define HAVE_NEWLOCALE 1
/* Define to 1 if you have the `pipe2' function. */
+#ifndef __APPLE__ /* Cross building tools on macOS */
#define HAVE_PIPE2 1
+#endif
/* Define to 1 if you have the `pread' function. */
#define HAVE_PREAD 1