diff --git a/osdep-openbsd.c b/osdep-openbsd.c index e35a355a..9bf55847 100644 --- a/osdep-openbsd.c +++ b/osdep-openbsd.c @@ -1,4 +1,4 @@ -/* $Id: osdep-openbsd.c,v 1.3 2009-01-26 22:57:19 nicm Exp $ */ +/* $Id: osdep-openbsd.c,v 1.4 2009-01-27 19:44:10 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -28,6 +28,8 @@ #include #include +#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0])) + char *get_argv0(int, char *); char *get_proc_argv0(pid_t);