Browse Source

Fixed a few errors, buildable again

bart@bart 16 years ago
parent
commit
41a7c11f9f
2 changed files with 6 additions and 3 deletions
  1. 2 2
      src/modules/image/EncodedImageData.h
  2. 4 1
      src/modules/image/devil/ImageData.h

+ 2 - 2
src/modules/image/EncodedImageData.h

@@ -55,7 +55,7 @@ namespace love
 				* Get the format the data is encoded in.
 				**/
 				
-				Image::ImageFormat EncodedImageData::getFormat();
+				Image::ImageFormat getFormat();
 				
 			private:
 				
@@ -79,4 +79,4 @@ namespace love
 	} // image
 } // love
 
-#endif // LOVE_IMAGE_ENCODED_IMAGE_DATA_H
+#endif // LOVE_IMAGE_ENCODED_IMAGE_DATA_H

+ 4 - 1
src/modules/image/devil/ImageData.h

@@ -30,6 +30,9 @@
 // DevIL
 #include <IL/il.h>
 
+// String
+#include <string.h>
+
 namespace love
 {	
 namespace image
@@ -89,4 +92,4 @@ namespace devil
 } // image
 } // love
 
-#endif // LOVE_DEVIL_IMAGE_DATA_H
+#endif // LOVE_DEVIL_IMAGE_DATA_H