* 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
13 lines
433 B
Diff
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
|