get_progname from heimdal's libroken
#include "config.h"
+#define get_progname bsd_get_progname
char *get_progname(char *argv0);
#ifndef HAVE_SETSID
int utimes(char *filename, struct timeval *tvp);
#endif /* HAVE_UTIMES */
+#ifndef HAVE_TRUNCATE
+int truncate (const char *path, off_t length);
+#endif /* HAVE_TRUNCATE */
+
+#if !defined(HAVE_SETGROUPS) && defined(SETGROUPS_NOOP)
+int setgroups(size_t size, const gid_t *list);
+#endif
+
#endif /* _BSD_MISC_H */