aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/sysv4.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/sysv4.h')
-rw-r--r--bfd/hosts/sysv4.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/hosts/sysv4.h b/bfd/hosts/sysv4.h
index 73acc66..c26ed3b 100644
--- a/bfd/hosts/sysv4.h
+++ b/bfd/hosts/sysv4.h
@@ -1,5 +1,6 @@
/* System V Release 4 Unix host system */
+#include <stddef.h>
#include <ansidecl.h>
#include <fcntl.h>
#include <errno.h>
@@ -11,7 +12,7 @@
#include <string.h>
#include <sys/file.h>
-#ifndef O_ACCMODE
+#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif
#define SEEK_SET 0