filename | src/loader.c |
changeset | 481:3b2d6c5a19ad |
prev | 454:f6586b97813a |
next | 502:c4ecae2b1b5e |
author | nkeynes |
date | Sun Nov 04 05:07:49 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Test for presence of linux/cdrom.h at configure time, and only build the linux driver if it's found successfully |
file | annotate | diff | log | raw |
1.1 --- a/src/loader.c Sun Oct 21 05:20:35 2007 +00001.2 +++ b/src/loader.c Sun Nov 04 05:07:49 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: loader.c,v 1.20 2007-10-21 05:20:35 nkeynes Exp $1.6 + * $Id: loader.c,v 1.21 2007-10-31 12:05:23 nkeynes Exp $1.7 *1.8 * File loading routines, mostly for loading demos without going through the1.9 * whole procedure of making a CD image for them.1.10 @@ -17,6 +17,7 @@1.11 * GNU General Public License for more details.1.12 */1.14 +#include <unistd.h>1.15 #include <stdio.h>1.16 #include <fcntl.h>1.17 #include <sys/stat.h>1.18 @@ -31,6 +32,9 @@1.19 #include "loader.h"1.20 #include "syscall.h"1.22 +// FIXME: This probably shouldn't be here1.23 +#include <gui/gtkui.h>1.24 +1.25 char bootstrap_magic[32] = "SEGA SEGAKATANA SEGA ENTERPRISES";1.26 char iso_magic[6] = "\001CD001";1.27 char *file_loader_extensions[][2] = {
.