summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/bin/media.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4ff68c1..230cb2c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,6 +33,8 @@ requirements="\
33 33
34PKG_CHECK_MODULES([TERMINOLOGY], [${requirements}]) 34PKG_CHECK_MODULES([TERMINOLOGY], [${requirements}])
35 35
36AC_CHECK_FUNCS(mkstemps)
37
36EFL_WITH_BIN([edje], [edje-cc], [edje_cc]) 38EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
37 39
38with_max_log_level="EINA_LOG_LEVEL_ERR" 40with_max_log_level="EINA_LOG_LEVEL_ERR"
diff --git a/src/bin/media.c b/src/bin/media.c
index d4b0c0c..89f5192 100644
--- a/src/bin/media.c
+++ b/src/bin/media.c
@@ -860,6 +860,7 @@ media_add(Evas_Object *parent, const char *src, const Config *config, int mode,
860 sd->mode = mode; 860 sd->mode = mode;
861 sd->tmpfd = -1; 861 sd->tmpfd = -1;
862 862
863#if HAVE_MKSTEMPS
863 if (link_is_url(sd->src)) 864 if (link_is_url(sd->src))
864 { 865 {
865 const char *ext = NULL; 866 const char *ext = NULL;
@@ -936,6 +937,7 @@ media_add(Evas_Object *parent, const char *src, const Config *config, int mode,
936 } 937 }
937 } 938 }
938 } 939 }
940#endif
939 941
940 if (!sd->url) sd->realf = eina_stringshare_add(sd->src); 942 if (!sd->url) sd->realf = eina_stringshare_add(sd->src);
941 943