summaryrefslogtreecommitdiff
path: root/src/file-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file-utils.c')
-rw-r--r--src/file-utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/file-utils.c b/src/file-utils.c
index c8b1823..55d6bf4 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _XOPEN_SOURCE 700
+
#include <config.h>
#include <pwd.h>
#include <stdio.h>
@@ -41,10 +43,6 @@
#include "fr-init.h"
-#ifndef HAVE_MKDTEMP
-#include "mkdtemp.h"
-#endif
-
#define BUF_SIZE 4096
#define FILE_PREFIX "file://"
#define FILE_PREFIX_L 7