]> git.sur5r.net Git - tio/blob - debian/patches/config_h_before_standard_headers
Merge tag 'upstream/1.18'
[tio] / debian / patches / config_h_before_standard_headers
1 Description: Include config.h before standard headers
2  This makes use of 8d6d202 (Enable large file support) for real.
3
4 Origin: https://github.com/sur5r/tio/commit/82063b73fbdc9ce60a6cad9558ba63a27435e8f9
5 Bug: https://github.com/tio/tio/pull/38
6 Forwarded: not-needed
7
8 --- tio-1.14.orig/src/error.c
9 +++ tio-1.14/src/error.c
10 @@ -19,6 +19,7 @@
11   * 02110-1301, USA.
12   */
13  
14 +#include "config.h"
15  #include <stdio.h>
16  #include <stdlib.h>
17  #include <string.h>
18 --- tio-1.14.orig/src/log.c
19 +++ tio-1.14/src/log.c
20 @@ -19,6 +19,7 @@
21   * 02110-1301, USA.
22   */
23  
24 +#include "config.h"
25  #include <stdio.h>
26  #include <stdlib.h>
27  #include <string.h>
28 --- tio-1.14.orig/src/main.c
29 +++ tio-1.14/src/main.c
30 @@ -19,6 +19,7 @@
31   * 02110-1301, USA.
32   */
33  
34 +#include "config.h"
35  #include <stdio.h>
36  #include <stdlib.h>
37  #include <unistd.h>
38 --- tio-1.14.orig/src/options.c
39 +++ tio-1.14/src/options.c
40 @@ -19,6 +19,7 @@
41   * 02110-1301, USA.
42   */
43  
44 +#include "config.h"
45  #include <sys/types.h>
46  #include <sys/stat.h>
47  #include <string.h>
48 @@ -28,7 +29,6 @@
49  #include <getopt.h>
50  #include <termios.h>
51  #include <limits.h>
52 -#include "config.h"
53  #include "tio/options.h"
54  #include "tio/error.h"
55  
56 --- tio-1.14.orig/src/time.c
57 +++ tio-1.14/src/time.c
58 @@ -19,6 +19,7 @@
59   * 02110-1301, USA.
60   */
61  
62 +#include "config.h"
63  #include <stdio.h>
64  #include <stdlib.h>
65  #include <time.h>
66 --- tio-1.14.orig/src/tty.c
67 +++ tio-1.14/src/tty.c
68 @@ -19,6 +19,7 @@
69   * 02110-1301, USA.
70   */
71  
72 +#include "config.h"
73  #include <stdio.h>
74  #include <unistd.h>
75  #include <string.h>