SHA256
1
0
forked from pool/mcpp
Files
mcpp/mcpp-2.7.2.1.diff
Dirk Mueller 11dda46959 - update to 2.7.2.1:
* include patches from homebrew
- drop CVE-2019-14274.patch (included already)

OBS-URL: https://build.opensuse.org/package/show/devel:tools/mcpp?expand=0&rev=9
2023-12-31 09:46:25 +00:00

13 lines
433 B
Diff

diff -ru mcpp-2.7.2.orig//src/system.c mcpp-2.7.2/src/system.c
--- mcpp-2.7.2.orig//src/system.c 2008-11-26 10:53:51.000000000 +0100
+++ mcpp-2.7.2/src/system.c 2009-02-06 10:12:29.000000000 +0100
@@ -43,6 +43,8 @@
#include "internal.H"
#endif
+#include <unistd.h>
+
#if HOST_SYS_FAMILY == SYS_UNIX
#include "unistd.h" /* For getcwd(), readlink() */
#elif HOST_COMPILER == MSC || HOST_COMPILER == LCC