pidfile: Portability fix, utimensat() in sys/time.h

For building libite on NetBSD, and probably other BSD's as well.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-06-08 06:25:02 +02:00
parent e8a3117158
commit 50cb72018f
+1
View File
@@ -32,6 +32,7 @@
*/
#include <sys/stat.h> /* utimensat() */
#include <sys/time.h> /* utimensat() on *BSD */
#include <sys/types.h>
#include <errno.h>
#include <paths.h>