$NetBSD$

--- libbrasero-burn/Makefile.am.orig	2010-06-21 22:56:07.000000000 +0000
+++ libbrasero-burn/Makefile.am
@@ -29,6 +29,12 @@ libbrasero-marshal.h: libbrasero-marshal
 libbrasero-marshal.c: libbrasero-marshal.h
 	( $(GLIB_GENMARSHAL) --prefix=brasero_marshal $(srcdir)/libbrasero-marshal.list --body --header > libbrasero-marshal.c )
 
+if MKDTEMP_MISSING
+MKDTEMP_FILES = mkdtemp.c mkdtemp.h
+else
+MKDTEMP_FILES =
+endif
+
 lib_LTLIBRARIES = \
 	libbrasero-burn.la
 
@@ -195,7 +201,8 @@ libbrasero_burn_la_SOURCES = 		\
 	brasero-video-options.c                 \
 	brasero-session-span.h                 \
 	brasero-session-span.c                 \
-	brasero-plugin-private.h                 
+	brasero-plugin-private.h               \
+	$(MKDTEMP_FILES)  
 
 if BUILD_INOTIFY
 libbrasero_burn_la_SOURCES += brasero-file-monitor.c brasero-file-monitor.h
