backported imago from eradicate
[dosdemo] / libs / imago / src / imago_gl.c
index 7dc444d..4dbfada 100644 (file)
@@ -207,6 +207,11 @@ unsigned int img_gltexture_read(struct img_io *io)
 #endif
 
 #include <dlfcn.h>
+
+#ifndef RTLD_DEFAULT
+#define RTLD_DEFAULT   0
+#endif
+
 #endif
 #ifdef WIN32
 #include <windows.h>