comparison srogue/save.c @ 186:85bd398cb96d

srogue: another unistd.h which should not be included on Windows.
author John "Elwin" Edwards
date Mon, 03 Aug 2015 06:30:09 -0400
parents 1863409c44cf
children 233be801aa81
comparison
equal deleted inserted replaced
185:576cc8154521 186:85bd398cb96d
12 * All rights reserved. 12 * All rights reserved.
13 * 13 *
14 * See the file LICENSE.TXT for full copyright and licensing information. 14 * See the file LICENSE.TXT for full copyright and licensing information.
15 */ 15 */
16 16
17 #include <stdio.h>
17 #include <stdlib.h> 18 #include <stdlib.h>
18 #include <string.h> 19 #include <string.h>
19 #include <unistd.h>
20 #include <ctype.h> 20 #include <ctype.h>
21 #include <fcntl.h> 21 #include <fcntl.h>
22 #include <sys/types.h> 22 #include <sys/types.h>
23 #include <sys/stat.h> 23 #include <sys/stat.h>
24 #include <signal.h> 24 #include <signal.h>
25 #include <errno.h> 25 #include <errno.h>
26 #if !defined(_WIN32)
27 #include <unistd.h>
28 #endif
26 #include "rogue.h" 29 #include "rogue.h"
27 #include "rogue.ext" 30 #include "rogue.ext"
28 31
29 EXTCHAR version[]; 32 EXTCHAR version[];
30 EXTCHAR *ctime(); 33 EXTCHAR *ctime();