aboutsummaryrefslogtreecommitdiffstats
path: root/libexfat/exfat.h
diff options
context:
space:
mode:
authorrelan <relan@users.noreply.github.com>2015-06-29 15:25:00 +0300
committerrelan <relan@users.noreply.github.com>2015-08-26 11:50:43 +0300
commitc05a94a1d347abff3a80a3929b1814252571bde6 (patch)
tree7bf17f2d4b0de48842d0c82587fcc05ab82b3ee7 /libexfat/exfat.h
parent1d5fbd91357f94c526abacef05c8d1bb889a340d (diff)
downloadandroid_external_exfat-c05a94a1d347abff3a80a3929b1814252571bde6.tar.gz
android_external_exfat-c05a94a1d347abff3a80a3929b1814252571bde6.tar.bz2
android_external_exfat-c05a94a1d347abff3a80a3929b1814252571bde6.zip
Include local headers before system headers.
config.h must always be included before stdio.h because it can contain defines that enable Large File Support (e.g. _FILE_OFFSET_BITS=64 for glibc on 32-bit machines).
Diffstat (limited to 'libexfat/exfat.h')
-rw-r--r--libexfat/exfat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libexfat/exfat.h b/libexfat/exfat.h
index 9684914..a141c67 100644
--- a/libexfat/exfat.h
+++ b/libexfat/exfat.h
@@ -24,15 +24,16 @@
#ifndef EXFAT_H_INCLUDED
#define EXFAT_H_INCLUDED
+#include "config.h"
+#include "compiler.h"
+#include "exfatfs.h"
+#include "version.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include "compiler.h"
-#include "exfatfs.h"
-#include "version.h"
#define EXFAT_NAME_MAX 256
#define EXFAT_ATTRIB_CONTIGUOUS 0x10000