#include <vfork.h>
#endif
-#if HAVE_CTYPE_H
#include <ctype.h>
-#endif
#if HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
+#if HAVE_ENDIAN_H
+#include <endian.h>
+#endif
+#if HAVE_SYS_ENDIAN_H
+#include <sys/endian.h>
+#endif
+
#include "plibc.h"
#include <locale.h>