From ba086d6f1a4ab644fce26205d4c517d7634e9bec Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sat, 24 Feb 2024 09:09:33 +0000 Subject: [PATCH 1/2] guard syslog.h --- libntfs-3g/ioctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libntfs-3g/ioctl.c b/libntfs-3g/ioctl.c index b059a53f..a3a56722 100644 --- a/libntfs-3g/ioctl.c +++ b/libntfs-3g/ioctl.c @@ -48,7 +48,9 @@ #ifdef HAVE_LIMITS_H #include #endif +#ifdef HAVE_SYSLOG_H #include +#endif #ifdef HAVE_SYS_TYPES_H #include #endif From fcd27ddb2d4c361362f6b96071e217f373227a2e Mon Sep 17 00:00:00 2001 From: Dave Murphy Date: Sat, 24 Feb 2024 09:18:35 +0000 Subject: [PATCH 2/2] remove bogus __timespec_defined --- include/ntfs-3g/ntfstime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ntfs-3g/ntfstime.h b/include/ntfs-3g/ntfstime.h index f3a89dd8..80e163f8 100644 --- a/include/ntfs-3g/ntfstime.h +++ b/include/ntfs-3g/ntfstime.h @@ -39,7 +39,7 @@ /* * assume "struct timespec" is not defined if st_mtime is not defined */ -#if !defined(st_mtime) & !defined(__timespec_defined) +#if !defined(st_mtime) struct timespec { time_t tv_sec; long tv_nsec;