Skip to content

Commit

Permalink
ntfstime.h uses the time.h, sys/stat.h, sys/time.h headers
Browse files Browse the repository at this point in the history
Not doing this check can result in an implicit declaration error.
  • Loading branch information
chewi committed Oct 27, 2024
1 parent 7f00675 commit 1e1b01b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ if test "$enable_ntfs" = "yes"; then
#check library of some filesystems
dnl Check for NTFS-3g
AS_MESSAGE([checking for NTFS-3g Library and Header files ... ...])
AC_CHECK_HEADERS([sys/time.h sys/stat.h time.h])
AC_CHECK_HEADERS([ntfs-3g/misc.h], ntfs_3g_h=1,
AC_MSG_WARN([*** NTFS(libntfs-3g-dev) header not found]))
AC_CHECK_LIB([ntfs-3g], [ntfs_mount], ntfs_3g_l=1,
Expand Down

0 comments on commit 1e1b01b

Please sign in to comment.