--- np2/x11/compiler.h 2004/06/17 14:36:33 1.21 +++ np2/x11/compiler.h 2004/07/14 16:01:40 1.23 @@ -1,4 +1,4 @@ -/* $Id: compiler.h,v 1.21 2004/06/17 14:36:33 monaka Exp $ */ +/* $Id: compiler.h,v 1.23 2004/07/14 16:01:40 monaka Exp $ */ /*- * Copyright (c) 2003, 2004 NONAKA Kimihiro @@ -47,6 +47,9 @@ #else /* USE_NETBSDAUDIO || USE_OSSAUDIO || USE_ESDAUDIO || USE_SDLAUDIO || USE_SDLMIXER */ #undef NOSOUND #define VERMOUTH_LIB +#if defined(USE_NETBSDAUDIO) || defined(USE_OSSAUDIO) || defined(USE_ESDAUDIO) +#include +#endif /* USE_NETBSDAUDIO || USE_OSSAUDIO || USE_ESDAUDIO */ #endif /* !USE_NETBSDAUDIO && !USE_OSSAUDIO && !USE_ESDAUDIO && !USE_SDLAUDIO && !USE_SDMIXER */ #include @@ -173,7 +176,7 @@ typedef int BOOL; #define NELEMENTS(a) ((int)(sizeof(a) / sizeof(a[0]))) #endif -UINT32 gettick(); +UINT32 gettick(void); #define GETTICK() gettick() #define GETRAND() random() #define SPRINTF sprintf @@ -225,7 +228,7 @@ void toolkit_msgbox(const char *title, c #undef SUPPORT_SCSI #undef SUPPORT_IDEIO -#if USE_GTK > 0 +#if USE_GTK > 0 || USE_GTK2 > 0 #define SUPPORT_S98 #define SUPPORT_KEYDISP #define SUPPORT_SOFTKBD 0