]> wimlib.net Git - wimlib/commitdiff
Header fix: Add time.h
authorEric Biggers <ebiggers3@gmail.com>
Tue, 13 Nov 2012 00:09:15 +0000 (18:09 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 13 Nov 2012 00:09:15 +0000 (18:09 -0600)
NTFS-3g headers seem to require time.h to be included first.

src/resource.c
src/wim.c

index 1871cfcccb8617ba005124652507c555f933f480..a2772c1c0646918085ba004082c69dc869b674b7 100644 (file)
@@ -30,6 +30,7 @@
 #include "dentry.h"
 
 #ifdef WITH_NTFS_3G
 #include "dentry.h"
 
 #ifdef WITH_NTFS_3G
+#include <time.h>
 #include <ntfs-3g/attrib.h>
 #include <ntfs-3g/inode.h>
 #include <ntfs-3g/dir.h>
 #include <ntfs-3g/attrib.h>
 #include <ntfs-3g/inode.h>
 #include <ntfs-3g/dir.h>
index bb76f855e9c6771bcadd9b972942627f3da74950..3d6febf1ee7898a96a96a65e0941fa09bab27c2b 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -32,6 +32,7 @@
 #include "dentry.h"
 
 #ifdef WITH_NTFS_3G
 #include "dentry.h"
 
 #ifdef WITH_NTFS_3G
+#include <time.h>
 #include <ntfs-3g/volume.h>
 #endif
 
 #include <ntfs-3g/volume.h>
 #endif