aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2003-10-15 19:57:18 +0000
committerJeff Johnston <jjohnstn@redhat.com>2003-10-15 19:57:18 +0000
commitb4d51d01c80d7392c73fcc93f5c5146e51ad7685 (patch)
tree0e8ff7d3d212dbf66f9869c357f5200a8c4fb87f
parentb11926e71714647f6a04745d591960ca03924dea (diff)
downloadnewlib-b4d51d01c80d7392c73fcc93f5c5146e51ad7685.zip
newlib-b4d51d01c80d7392c73fcc93f5c5146e51ad7685.tar.gz
newlib-b4d51d01c80d7392c73fcc93f5c5146e51ad7685.tar.bz2
2003-10-15 Bernardo Innocenti <bernie@develer.com>
* m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t typedef from <unistd.h>.
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/m68k/sim-funcs.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 0b3488b..9027a2c 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-15 Bernardo Innocenti <bernie@develer.com>
+
+ * m68k/sim-funcs.c (_XOPEN_SOURCE): Define to get the pid_t
+ typedef from <unistd.h>.
+
2003-08-26 Jason Merrill <jason@redhat.com>
* sparc/elfsim.ld: Fix __EH_FRAME_BEGIN__ definition.
diff --git a/libgloss/m68k/sim-funcs.c b/libgloss/m68k/sim-funcs.c
index a4b14ca..712c566 100644
--- a/libgloss/m68k/sim-funcs.c
+++ b/libgloss/m68k/sim-funcs.c
@@ -13,6 +13,7 @@
* they apply.
*/
+#define _XOPEN_SOURCE
#include <unistd.h>
int