summaryrefslogtreecommitdiffstats
path: root/security/nss/cmd/crlutil/crlgen_lex_fix.sed
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/cmd/crlutil/crlgen_lex_fix.sed')
-rw-r--r--security/nss/cmd/crlutil/crlgen_lex_fix.sed6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/nss/cmd/crlutil/crlgen_lex_fix.sed b/security/nss/cmd/crlutil/crlgen_lex_fix.sed
new file mode 100644
index 0000000000..603dd2d1be
--- /dev/null
+++ b/security/nss/cmd/crlutil/crlgen_lex_fix.sed
@@ -0,0 +1,6 @@
+/<unistd.h>/ {
+ i #ifdef _WIN32
+ i #include <io.h>
+ i #else
+ a #endif
+}