fix build with gcc4
This commit is contained in:
parent
066e590bb4
commit
7d621fc670
11
news/trn/patches/patch-opt_h
Normal file
11
news/trn/patches/patch-opt_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-opt_h,v 1.1 2010/05/22 11:44:40 espie Exp $
|
||||
--- opt.h.orig Sat May 22 13:39:36 2010
|
||||
+++ opt.h Sat May 22 13:40:29 2010
|
||||
@@ -132,6 +132,7 @@ EXT char* yesorno[2]
|
||||
# define OI_SCORE_LAST (OI_SCAN_LAST)
|
||||
#endif
|
||||
|
||||
+#include "util.h"
|
||||
extern INI_WORDS options_ini[];
|
||||
EXT char** option_def_vals;
|
||||
EXT char** option_saved_vals;
|
17
news/trn/patches/patch-util_h
Normal file
17
news/trn/patches/patch-util_h
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-util_h,v 1.1 2010/05/22 11:44:40 espie Exp $
|
||||
--- util.h.orig Sat May 22 13:41:28 2010
|
||||
+++ util.h Sat May 22 13:41:39 2010
|
||||
@@ -2,6 +2,8 @@
|
||||
*/
|
||||
/* This software is copyrighted as detailed in the LICENSE file. */
|
||||
|
||||
+#ifndef UTIL_H
|
||||
+#define UTIL_H
|
||||
|
||||
EXT bool waiting INIT(FALSE); /* waiting for subprocess (in doshell)? */
|
||||
EXT bool nowait_fork INIT(FALSE);
|
||||
@@ -80,3 +82,4 @@ char* parse_ini_section _((char*,INI_WORDS*));
|
||||
bool check_ini_cond _((char*));
|
||||
char menu_get_char _((void));
|
||||
int edit_file _((char*));
|
||||
+#endif
|
Loading…
Reference in New Issue
Block a user