void-packages/srcpkgs/ctpp2/patches/03-unistd.patch

11 lines
290 B
Diff

--- CTPP2FileSourceLoader.cpp 2017-09-30 17:45:16.712937712 +0200
+++ src/CTPP2FileSourceLoader.cpp 2017-09-30 17:45:42.048938678 +0200
@@ -38,6 +38,7 @@
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#ifdef WIN32
#include <direct.h> /* getcwd */