summaryrefslogtreecommitdiff
path: root/include/unistd.h
blob: 3aecd68fcc7de9b1b751cacc4d41f766d47a689d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Public domain
 * unistd.h compatibility shim
 */

#include_next <unistd.h>

#ifndef LIBCRYPTOCOMPAT_UNISTD_H
#define LIBCRYPTOCOMPAT_UNISTD_H

#ifndef HAVE_GETENTROPY
int getentropy(void *buf, size_t buflen);
#endif

#ifndef HAVE_ISSETUGID
int issetugid(void);
#endif

#endif