rnd-20001125-3-src
[rocksndiamonds.git] / src / pcx.h
index b1fa1c63ec71fa98084e1d7d96db2f702a39e47f..47250992dedc20f1e22c38255b434940408d8c51 100644 (file)
--- a/src/pcx.h
+++ b/src/pcx.h
@@ -14,6 +14,8 @@
 #ifndef PCX_H
 #define PCX_H
 
+#ifndef TARGET_SDL
+
 #include "main.h"
 #include "image.h"
 
 #define PCX_NoMemory           -4
 #define PCX_ColorFailed                -5
 
+/* global PCX error value */
+extern int errno_pcx;
+
 Image *Read_PCX_to_Image(char *);
 
+#endif /* !TARGET_SDL */
 #endif /* PCX_H */