summary refs log tree commit diff
path: root/include/compat/unistd.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2026-06-01 14:36:58 -0400
committerJune McEnroe <june@causal.agency>2026-06-01 14:36:58 -0400
commitdcd11ea62fce539d9a50f41a822853239e05727a (patch)
treee54578b730a4719e4bc8a2d20fef267c8db7f22f /include/compat/unistd.h
parentImport LibreSSL 3.8.1 (diff)
downloadlibretls-dcd11ea62fce539d9a50f41a822853239e05727a.tar.gz
libretls-dcd11ea62fce539d9a50f41a822853239e05727a.zip
Import LibreSSL 3.8.2
Diffstat (limited to 'include/compat/unistd.h')
-rw-r--r--include/compat/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/compat/unistd.h b/include/compat/unistd.h
index 2583a6e..63c07fc 100644
--- a/include/compat/unistd.h
+++ b/include/compat/unistd.h
@@ -23,6 +23,7 @@ ssize_t pwrite(int d, const void *buf, size_t nbytes, off_t offset);
 #include <io.h>
 #include <process.h>
 
+#define STDIN_FILENO    0
 #define STDOUT_FILENO   1
 #define STDERR_FILENO   2
 
@@ -65,7 +66,7 @@ int getentropy(void *buf, size_t buflen);
 #endif
 
 #ifndef HAVE_GETOPT
-#include <getopt.h>
+#include "getopt.h"
 #endif
 
 #ifndef HAVE_GETPAGESIZE