Include headers for mkstemps

Linux requires <stdlib.h>, but FreeBSD requires <unistd.h>.
This commit is contained in:
Frédéric Mangano 2020-11-10 17:57:09 +01:00 committed by Frédéric Mangano
parent 4a1b8705cc
commit b8c8be453f

View File

@ -12,8 +12,10 @@
#include <errno.h>
#include <getopt.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
using namespace std::literals::string_literals;