summaryrefslogtreecommitdiff
path: root/sysdeps/gnu/utmpx.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/utmpx.h')
-rw-r--r--sysdeps/gnu/utmpx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/gnu/utmpx.h b/sysdeps/gnu/utmpx.h
index 916a2c5936..a7b58daf7f 100644
--- a/sysdeps/gnu/utmpx.h
+++ b/sysdeps/gnu/utmpx.h
@@ -23,9 +23,9 @@
#include <sys/time.h>
/* Required according to Unix98. */
-#ifndef pid_t
+#ifndef __pid_t_defined
typedef __pid_t pid_t;
-# define pid_t pid_t
+# define __pid_t_defined
#endif
/* Get system dependent values and data structures. */