include/SDL_cdrom.h
changeset 1353 7ba544e2888d
parent 1312 c9b51268668f
child 1356 67114343400d
--- a/include/SDL_cdrom.h	Thu Feb 09 05:46:55 2006 +0000
+++ b/include/SDL_cdrom.h	Thu Feb 09 09:07:13 2006 +0000
@@ -25,8 +25,9 @@
 #ifndef _SDL_cdrom_h
 #define _SDL_cdrom_h
 
-#include "SDL_types.h"
+#include "SDL_stdinc.h"
 
+#ifndef DISABLE_CDROM
 #include "begin_code.h"
 /* Set up for C function definitions, even when using C++ */
 #ifdef __cplusplus
@@ -166,5 +167,6 @@
 }
 #endif
 #include "close_code.h"
+#endif /* !DISABLE_CDROM */
 
 #endif /* _SDL_video_h */