com php-src: Include unistd.h for getpid(): ext/zip/lib/mkstemp.c
| From: | Sara Golemon | Date: | Tue, 13 Dec 2016 07:25:49 +0000 |
| Subject: | com php-src: Include unistd.h for getpid(): ext/zip/lib/mkstemp.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96314@lists.php.net to get a copy of this message | ||
Commit: 613ee726a847489d92638bf3f80d380b0e24ccb2
Author: Sara Golemon <pollita@php.net> Mon, 12 Dec 2016 21:44:07 -0800
Parents: 448a5b38e60048238603e07092d4e3b2613a9b80
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=613ee726a847489d92638bf3f80d380b0e24ccb2
Log:
Include unistd.h for getpid()
Changed paths:
M ext/zip/lib/mkstemp.c
Diff:
diff --git a/ext/zip/lib/mkstemp.c b/ext/zip/lib/mkstemp.c
index 2ccd3a4..57d8848 100644
--- a/ext/zip/lib/mkstemp.c
+++ b/ext/zip/lib/mkstemp.c
@@ -43,6 +43,7 @@
#endif
#include <stdio.h>
#include <stdlib.h>
+#include <unistd..h>
#ifndef O_BINARY
#define O_BINARY 0