commit | 70629b26c0ad0a709c444921574f49454850dea0 | [log] [tgz] |
---|---|---|
author | Thomas Klausner <tk@giga.or.at> | Fri Feb 24 13:57:44 2017 +0100 |
committer | Thomas Klausner <tk@giga.or.at> | Fri Feb 24 13:57:44 2017 +0100 |
tree | e4d3e44efcf7993f53e1feba86ffa03f273614ae | |
parent | ab1a96ee7e32dd2309aa07f6f252d344017467b9 [diff] |
Include unistd.h for getpid(). From Carsten Siegner.
diff --git a/lib/mkstemp.c b/lib/mkstemp.c index 2ccd3a4..57d8848 100644 --- a/lib/mkstemp.c +++ b/lib/mkstemp.c
@@ -43,6 +43,7 @@ #endif #include <stdio.h> #include <stdlib.h> +#include <unistd.h> #ifndef O_BINARY #define O_BINARY 0