vcpkg/ports/ragel/0001-remove-unistd-h.patch
Stefano Sinigardi 726c111481 [vcpkg] fatal_error when patch fails to apply (#8087)
vcpkg will now fail on failure to apply patches except when using `--head`.
2019-10-07 10:35:13 -07:00

15 lines
325 B
Diff

diff --git a/ragel/main.cpp b/ragel/main.cpp
index f5fbd7b..947b1c8 100644
--- a/ragel/main.cpp
+++ b/ragel/main.cpp
@@ -24,9 +24,7 @@
#include <stdio.h>
#include <iostream>
#include <fstream>
-#include <unistd.h>
#include <sstream>
-#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>