mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
MFC: libmagic: Unbreak for older FreeBSD releases.
PR: bin/273736
Reported by: philip
(cherry picked from commit 7f8f120439)
This commit is contained in:
parent
18790167dc
commit
e6de39be80
1 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* FreeBSD */
|
||||
#include <osreldate.h>
|
||||
|
||||
/* Define if building universal (internal helper macro) */
|
||||
/* #undef AC_APPLE_UNIVERSAL_BUILD */
|
||||
|
||||
|
|
@ -21,8 +24,10 @@
|
|||
|
||||
/* Define to 1 if you have the <byteswap.h> header file. */
|
||||
#ifndef __APPLE__ /* Cross building tools on macOS */
|
||||
#if __FreeBSD_version >= 1400079 || (__FreeBSD_version < 1400000 && __FreeBSD_version >= 1302500)
|
||||
#define HAVE_BYTESWAP_H 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <bzlib.h> header file. */
|
||||
/* #undef HAVE_BZLIB_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue