**************************************************************************/
-#define HAVE_STDINT_H
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#define _FILE_OFFSET_BITS 64
#include <errno.h>
memset(&arg, 0, sizeof(arg));
- arg.bpp = 16;
+ /* All BO_TYPE currently are 32bpp formats */
+ arg.bpp = 32;
arg.width = width;
arg.height = height;