summaryrefslogtreecommitdiff
path: root/type.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-18 22:30:22 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-06-18 22:34:40 +0200
commit2d23787c4800ce513a726c37afaba781ae891593 (patch)
treeb6c34c843866ea43d09d4b15e15081e2f2cd6c11 /type.c
parent9177b4ddd86c36eb861cfdbe2342000d97fb2394 (diff)
cpu.sym: Replace implementation from Utah with implementation from CMU
This replaces the implementation from the University of Utah, covered by the advertising clause, with the implementation from CMU, picked up from the GNU Mach source, which is free from the advertising clause. This includes the addition of the sizeof as seen used by mig with git grep word_size git grep sizeof_
Diffstat (limited to 'type.c')
-rw-r--r--type.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/type.c b/type.c
index 0facd9e..eb88cf4 100644
--- a/type.c
+++ b/type.c
@@ -31,6 +31,7 @@
#include "global.h"
#include "type.h"
#include "message.h"
+#include "cpu.h"
#if word_size_in_bits == 32
#define word_size_name MACH_MSG_TYPE_INTEGER_32