summaryrefslogtreecommitdiff
path: root/cross/ppc-morphos-binutils/patches/patch-bfd_sysdep.h
blob: 34f6c4850cced1f08b6a5f42250defa8a82f2c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-bfd_sysdep.h,v 1.1 2020/05/10 02:14:18 js Exp $

--- bfd/sysdep.h.orig	2020-05-10 01:34:09.000000000 +0000
+++ bfd/sysdep.h
@@ -33,9 +33,6 @@
 #endif
 
 #include <stdio.h>
-#if defined(MORPHOS_TARGET) && !defined(__off64_t_defined)
-typedef int64_t         off64_t;
-#endif
 #include <sys/types.h>
 
 #include <errno.h>
@@ -96,6 +93,10 @@ extern char *strrchr ();
 #endif
 #endif
 
+#if defined(MORPHOS_TARGET) && !defined(__off64_t_defined)
+typedef int64_t         off64_t;
+#endif
+
 #ifndef O_RDONLY
 #define O_RDONLY 0
 #endif