Skip to content

Commit

Permalink
Include headers for mkstemps
Browse files Browse the repository at this point in the history
Linux requires <stdlib.h>, but FreeBSD requires <unistd.h>.
  • Loading branch information
fmang committed Nov 14, 2020
1 parent 4a1b870 commit b8c8be4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit b8c8be4

Please sign in to comment.