aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/rs6000.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/rs6000.h')
-rw-r--r--bfd/hosts/rs6000.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h
index 5b20649..60f4f07 100644
--- a/bfd/hosts/rs6000.h
+++ b/bfd/hosts/rs6000.h
@@ -1,3 +1,4 @@
+#include <stddef.h>
#include <fcntl.h>
#include <errno.h>
#include <stdio.h>
@@ -8,7 +9,7 @@
#include <sys/file.h>
#include <stdlib.h> /* for malloc() */
-#ifndef O_ACCMODE
+#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
#define SEEK_SET 0