Explorar o código

Change stdint include order so __need_ defines are set

Jeremy Soller %!s(int64=2) %!d(string=hai) anos
pai
achega
dab147f862
Modificáronse 2 ficheiros con 4 adicións e 2 borrados
  1. 2 1
      include/bits/wchar.h
  2. 2 1
      include/bits/wctype.h

+ 2 - 1
include/bits/wchar.h

@@ -1,6 +1,5 @@
 #ifndef _BITS_WCHAR_H
 #define _BITS_WCHAR_H
-#include <stdint.h>
 
 #define WEOF (0xffffffffu)
 #define WCHAR_MIN (0)
@@ -11,4 +10,6 @@
 #define __need_wint_t
 #define __need_NULL
 
+#include <stdint.h>
+
 #endif /* _BITS_WCHAR_H */

+ 2 - 1
include/bits/wctype.h

@@ -1,7 +1,8 @@
 #ifndef _BITS_WCTYPE_H
 #define _BITS_WCTYPE_H
-#include <stdint.h>
 
 #define __need_wint_t
 
+#include <stdint.h>
+
 #endif /* _BITS_WCTYPE_H */