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