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

  1. /*
  2. * Public domain
  3. * unistd.h compatibility shim
  4. */
  5. #include_next <unistd.h>
  6. #ifndef LIBCOMPAT_UNISTD_H
  7. #define LIBCOMPAT_UNISTD_H
  8. #ifndef HAVE_GETENTROPY
  9. int getentropy(void *buf, size_t buflen);
  10. #endif
  11. #include <grp.h>
  12. #ifndef HAVE_SETGROUPS
  13. int setgroups(int ngroups, const gid_t *gidset);
  14. #endif
  15. #endif