void run_command(int argc, char *argv[], const struct command[]);
void proctitle_init(int argc, char **argv);
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__NetBSD__)
#define proctitle_set setproctitle
#else
void proctitle_set(const char *, ...)