about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/id.c1
-rw-r--r--posix/sys/types.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/posix/id.c b/posix/id.c
index 6c602b21b4..c0db14c9bd 100644
--- a/posix/id.c
+++ b/posix/id.c
@@ -22,6 +22,7 @@
 #include <grp.h>
 #include <pwd.h>
 #include <limits.h>
+#include <libintl.h>
 #include <sys/types.h>
 
 
diff --git a/posix/sys/types.h b/posix/sys/types.h
index 8ba320006b..362d547c08 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -132,7 +132,7 @@ typedef unsigned int uint;
 
 /* These size-specific names are used by some of the inet code.  */
 
-#if !defined __GNUC__ || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
+#if !__GNUC_PREREQ (2, 7)
 
 /* These types are defined by the ISO C 9x header <inttypes.h>. */
 # ifndef __int8_t_defined