workaround for #include bug on OS X
authorJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 27 Jun 2001 06:46:24 +0000 (06:46 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 27 Jun 2001 06:46:24 +0000 (06:46 +0000)
src/flac/file.c

index 102ee9d..366ad94 100644 (file)
@@ -20,6 +20,7 @@
 #include <sys/utime.h> /* for utime() */
 #include <io.h> /* for chmod() */
 #else
+#include <sys/types.h> /* some flavors of BSD (like OS X) require this to get time_t */
 #include <utime.h> /* for utime() */
 #include <unistd.h> /* for chown() */
 #endif