commit | 6cf1a2cfe86d37d7a0a3cfc0085f8c89b04dcc82 | [log] [download] |
---|---|---|
author | Darren Tucker <dtucker@zip.com.au> | Sun Jun 22 18:32:10 2003 +1000 |
committer | Darren Tucker <dtucker@zip.com.au> | Sun Jun 22 18:32:10 2003 +1000 |
tree | 6b2fddde8647173692319bf886bcc45fecb2790c | |
parent | e0194e52ca533eef87e3799ff987f83eab7eadcf [diff] |
- (dtucker) [openbsd-compat/setproctitle.c] Ensure SPT_TYPE is defined before testing its value. When HAVE_SETPROCTITLE is defined (at least on NetBSD, gcc 2.95.3) the test "#if SPT_TYPE == SPT_REUSEARGV" is not true (probably because SPT_TYPE or SPT_REUSEARGV is not defined). This results in the following build error: $ gcc [flags] setproctitle.c setproctitle.c: In function `compat_init_setproctitle': setproctitle.c:102: `argv_start' undeclared (first use in this function)