]> andersk Git - openssh.git/blobdiff - openbsd-compat/setproctitle.c
remove acconfig.h
[openssh.git] / openbsd-compat / setproctitle.c
index f05cb0e8cb1e459f981409a89e54ef6ded345293..6e2b19bb4f584c50069196db7a6b4d0066b5d4ca 100644 (file)
@@ -41,8 +41,8 @@
 #endif
 
 #define SPT_NONE       0       /* don't use it at all */
-#define SPT_PSTAT      1       /* cover argv with title information */
-#define SPT_REUSEARGV  2       /* use pstat(PSTAT_SETCMD, ...) */
+#define SPT_PSTAT      1       /* use pstat(PSTAT_SETCMD, ...) */
+#define SPT_REUSEARGV  2       /* cover argv with title information */
 
 #ifndef SPT_TYPE
 # define SPT_TYPE      SPT_NONE
@@ -62,7 +62,7 @@ static size_t argv_env_len = 0;
 void
 compat_init_setproctitle(int argc, char *argv[])
 {
-#if SPT_TYPE == SPT_REUSEARGV
+#if defined(SPT_TYPE) && SPT_TYPE == SPT_REUSEARGV
        extern char **environ;
        char *lastargv = NULL;
        char **envp = environ;
This page took 0.043269 seconds and 4 git commands to generate.