diff options
Diffstat (limited to 'libblkid/lib/fileutils.c')
-rw-r--r-- | libblkid/lib/fileutils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libblkid/lib/fileutils.c b/libblkid/lib/fileutils.c index 4e884d39a..c6eb0d6c9 100644 --- a/libblkid/lib/fileutils.c +++ b/libblkid/lib/fileutils.c @@ -14,6 +14,10 @@ #include "fileutils.h" #include "pathnames.h" +#ifndef _PATH_TMP +#define _PATH_TMP "/tmp/" +#endif + /* Create open temporary file in safe way. Please notice that the * file permissions are -rw------- by default. */ int xmkstemp(char **tmpname, char *dir) |