mirror of
https://github.com/dosfstools/dosfstools.git
synced 2026-01-26 12:14:59 +00:00
Fix building on macos
This commit is contained in:
parent
9c2061ea27
commit
77ffb87e82
@ -60,6 +60,7 @@ AC_CHECK_HEADERS([\
|
||||
sys/ioccom.h \
|
||||
sys/mkdev.h \
|
||||
sys/queue.h \
|
||||
sys/sysmacros.h \
|
||||
])
|
||||
|
||||
AC_CHECK_HEADERS([endian.h sys/endian.h libkern/OSByteOrder.h])
|
||||
|
||||
@ -7,12 +7,15 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/sysmacros.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifdef HAVE_SYS_SYSMACROS_H
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LINUX_HDREG_H
|
||||
#include <linux/hdreg.h>
|
||||
#endif
|
||||
|
||||
@ -24,7 +24,10 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#ifdef HAVE_SYS_SYSMACROS_H
|
||||
#include <sys/sysmacros.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LINUX_LOOP_H
|
||||
#include <linux/loop.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user