Initial version of CrossReport program.
[fedora-mingw.git] / darwinx-odcctools / odcctools-headers.patch
1 diff -uNr odcctools-20060226/ld64/ld.cpp odcctools-20060226-new/ld64/ld.cpp
2 --- odcctools-20060226/ld64/ld.cpp      2005-05-26 17:31:25.000000000 -0400
3 +++ odcctools-20060226-new/ld64/ld.cpp  2006-03-15 10:28:06.000000000 -0500
4 @@ -38,6 +38,8 @@
5  #include <algorithm>
6  #include <ext/hash_map>
7  
8 +#include <unistd.h>
9 +
10  #include "Options.h"
11  
12  #include "ObjectFile.h"
13 diff -uNr odcctools-20060226/ld64/Options.cpp odcctools-20060226-new/ld64/Options.cpp
14 --- odcctools-20060226/ld64/Options.cpp 2006-02-26 13:31:29.000000000 -0500
15 +++ odcctools-20060226-new/ld64/Options.cpp     2006-03-15 10:28:07.000000000 -0500
16 @@ -31,6 +31,9 @@
17  
18  #include "Options.h"
19  
20 +#include <unistd.h>
21 +#include <ctype.h>
22 +
23   __attribute__((noreturn))
24  void throwf(const char* format, ...) 
25  {
26 diff -uNr odcctools-20060226/ld64/Writers/ExecutableFileMachO-all.cpp odcctools-20060226-new/ld64/Writers/ExecutableFileMachO-all.cpp
27 --- odcctools-20060226/ld64/Writers/ExecutableFileMachO-all.cpp 2005-05-26 17:31:25.000000000 -0400
28 +++ odcctools-20060226-new/ld64/Writers/ExecutableFileMachO-all.cpp     2006-03-15 10:35:24.000000000 -0500
29 @@ -31,6 +31,8 @@
30  #include <mach-o/ppc/reloc.h>
31  #include <mach-o/stab.h>
32  
33 +#include <unistd.h>
34 +
35  #include <vector>
36  #include <algorithm>
37  #include <map>
38 diff -ur odcctools-20060413.orig/ld64/Options.h odcctools-20060413/ld64/Options.h
39 --- odcctools-20060413.orig/ld64/Options.h      2006-04-13 14:44:52.000000000 +0100
40 +++ odcctools-20060413/ld64/Options.h   2009-02-08 20:21:12.000000000 +0000
41 @@ -25,7 +25,9 @@
42  #ifndef __OPTIONS__
43  #define __OPTIONS__
44  
45 -
46 +#include <cstring>
47 +#include <cstdio>
48 +#include <climits>
49  #include <stdint.h>
50  #include <mach/machine.h>
51  
52 diff -ur odcctools-20060413.orig/ld64/SectCreate.cpp odcctools-20060413/ld64/SectCreate.cpp
53 --- odcctools-20060413.orig/ld64/SectCreate.cpp 2005-05-26 22:31:25.000000000 +0100
54 +++ odcctools-20060413/ld64/SectCreate.cpp      2009-02-08 20:21:28.000000000 +0000
55 @@ -21,6 +21,8 @@
56   * @APPLE_LICENSE_HEADER_END@
57   */
58  
59 +#include <cstdio>
60 +#include <cstring>
61  #include <vector>
62  
63  #include "ObjectFile.h"