diff options
Diffstat (limited to 'tls/compat/getuid.c')
-rw-r--r-- | tls/compat/getuid.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tls/compat/getuid.c b/tls/compat/getuid.c new file mode 100644 index 0000000..632967a --- /dev/null +++ b/tls/compat/getuid.c | |||
@@ -0,0 +1,14 @@ | |||
1 | /* | ||
2 | * Public domain | ||
3 | * | ||
4 | * Kinichiro Inoguchi <inoguchi@openbsd.org> | ||
5 | */ | ||
6 | |||
7 | #include <unistd.h> | ||
8 | |||
9 | uid_t | ||
10 | getuid(void) | ||
11 | { | ||
12 | /* Windows fstat sets 0 as st_uid */ | ||
13 | return 0; | ||
14 | } | ||