sys/signal.h (or some master include) must happen before sys/proc.h, which
authorderaadt <deraadt@openbsd.org>
Tue, 7 Dec 2021 00:40:03 +0000 (00:40 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 7 Dec 2021 00:40:03 +0000 (00:40 +0000)
is not standalone.
This problem is being hidden by a sys/param.h which cannot be deleted yet.

usr.bin/tmux/procname.c

index 2ee1aa4..8871abf 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: procname.c,v 1.18 2021/12/07 00:38:42 deraadt Exp $ */
+/* $OpenBSD: procname.c,v 1.19 2021/12/07 00:40:03 deraadt Exp $ */
 
 /*
  * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -18,6 +18,7 @@
 
 #include <sys/param.h> /* MAXCOMLEN */
 #include <sys/types.h>
+#include <sys/signal.h>
 #include <sys/proc.h>
 #include <sys/sysctl.h>
 #include <sys/stat.h>