Skip to content

Commit 19e538f

Browse files
author
Alex Smith
committed
Fixes for the Windows build
1 parent a820cf6 commit 19e538f

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

aimake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,8 +299,8 @@ handling (to place the files in the right place).
299299

300300
=item LEXFLAGS
301301

302-
Command-line arguments to pass to C<lex>. The default is to pass C<--warn>,
303-
which tells C<flex> (the default C<lex> implementation) to produce warnings.
302+
Command-line arguments to pass to C<lex>. The default is an empty set of
303+
options.
304304

305305
=back
306306

@@ -10820,7 +10820,7 @@ EOF
1082010820

1082110821
default_lexflags => {
1082210822
output => 'optionset:LEXFLAGS',
10823-
outdepends => ['optstring:--warn'],
10823+
outdepends => [],
1082410824
verb => 'determined',
1082510825
low_message_priority => 1,
1082610826
command_line_override => 'LEXFLAGS',

nethack/src/map.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111
# include <sys/time.h>
1212
#endif
1313

14-
#include "tilesequence.h"
1514
#include "nhcurses.h"
1615
#include "brandings.h"
1716
#include <ctype.h>
17+
/* tilesequence.h must come last because it includes some definitions, like
18+
'u', which break standard header files. */
19+
#include "tilesequence.h"
1820

1921
#define sgn(x) ((x) >= 0 ? 1 : -1)
2022

0 commit comments

Comments
 (0)