+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#else
+# define __UNUSED__
+#endif
+
#include <Elementary.h>
-EAPI int
-elm_main(int argc, char **argv)
+EAPI_MAIN int
+elm_main(int argc __UNUSED__, char **argv)
{
Evas_Object *win, *bg;
Evas_Coord w, h;