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

11 lines
290 B
Diff
Raw Normal View History

2017-09-30 19:23:47 +00:00
--- 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 */