Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
316 B

/*
* Public domain
* unistd.h compatibility shim
*/
#include_next <unistd.h>
#ifndef LIBCOMPAT_UNISTD_H
#define LIBCOMPAT_UNISTD_H
#ifndef HAVE_GETENTROPY
int getentropy(void *buf, size_t buflen);
#endif
#include <grp.h>
#ifndef HAVE_SETGROUPS
int setgroups(int ngroups, const gid_t *gidset);
#endif
#endif