ref: 215ef6c03d4d69a4455e9729c463d6d8bc145848
parent: 56e529d5e9a213be7a9738f2254fc4c31f46359f
author: halfwit <michaelmisch1985@gmail.com>
date: Fri Jan 2 18:48:43 EST 2026
Move signal.h above our own defs
--- a/kern/await.c
+++ b/kern/await.c
@@ -1,4 +1,5 @@
#include "u.h"
+#include <signal.h>
#include "lib.h"
#include "dat.h"
#include "fns.h"
@@ -7,9 +8,7 @@
#include "sys.h"
#include "proc.h"
-#undef long
-
-#include <signal.h>
+#define long int
#ifndef WCOREDUMP /* not on Mac OS X Tiger */
#define WCOREDUMP(status) 0
--- a/kern/postnote.c
+++ b/kern/postnote.c
@@ -1,7 +1,6 @@
#include <u.h>
-#include <libc.h>
-
#include <signal.h>
+#include <libc.h>
extern int _p9strsig(char*);
--- a/kern/sysproc.c
+++ b/kern/sysproc.c
@@ -1,4 +1,5 @@
#include "u.h"
+#include <signal.h>
#include "lib.h"
#include "dat.h"
#include "fns.h"
@@ -7,7 +8,6 @@
#include "user.h"
#include "sys.h"
#include <a.out.h>
-#include <signal.h>
#include <sys/mman.h>
#include <setjmp.h>
--
⑨