Change stdint include order so __need_ defines are set

This commit is contained in:
Jeremy Soller
2023-03-10 07:53:53 -07:00
parent 47bd55451f
commit dab147f862
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -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
View File
@@ -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 */