OSDN Git Service

Put _XOPEN_SOURCE define before any includes as recommended.
authorrelan <relan@users.noreply.github.com>
Tue, 31 Jan 2012 16:06:37 +0000 (16:06 +0000)
committerrelan <relan@users.noreply.github.com>
Mon, 24 Aug 2015 05:26:14 +0000 (08:26 +0300)
libexfat/mount.c

index 295d455..3874c3c 100644 (file)
        along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+#define _XOPEN_SOURCE /* for tzset() in Linux */
 #include "exfat.h"
 #include <string.h>
 #include <stdlib.h>
 #include <errno.h>
 #include <unistd.h>
 #include <sys/types.h>
-#define _XOPEN_SOURCE /* for tzset() in Linux */
 #include <time.h>
 
 static uint64_t rootdir_size(const struct exfat* ef)