bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix bootstraping issues with stdint.h.


From: Flavio Cruz
Subject: [PATCH] Fix bootstraping issues with stdint.h.
Date: Mon, 4 Apr 2016 23:57:41 +0200
User-agent: Mutt/1.5.24 (2015-08-30)

* include/mach/std_types.h: Do not include stdint.h.
* kern/rdxtree.h: Replace sys/types.h with stdint.h.
---
 include/mach/std_types.h | 1 -
 kern/rdxtree.h           | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/mach/std_types.h b/include/mach/std_types.h
index 553bd61..f78e236 100644
--- a/include/mach/std_types.h
+++ b/include/mach/std_types.h
@@ -37,7 +37,6 @@
 #include <mach/kern_return.h>
 #include <mach/port.h>
 #include <mach/machine/vm_types.h>
-#include <stdint.h>
 
 typedef        vm_offset_t     pointer_t;
 typedef        vm_offset_t     vm_address_t;
diff --git a/kern/rdxtree.h b/kern/rdxtree.h
index 1f8456e..9892d56 100644
--- a/kern/rdxtree.h
+++ b/kern/rdxtree.h
@@ -36,7 +36,7 @@
 #define _RDXTREE_H
 
 #include <stddef.h>
-#include <sys/types.h>
+#include <stdint.h>
 
 /*
  * Initialize the node cache.
-- 
2.7.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]