[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/14] mach-defpager: include errno.h
From: |
Justus Winter |
Subject: |
[PATCH 13/14] mach-defpager: include errno.h |
Date: |
Fri, 8 Nov 2013 21:24:21 +0100 |
Define _GNU_SOURCE and include errno.h so that the type error_t is
defined.
* mach-defpager/default_pager.c: Define _GNU_SOURCE and include errno.h.
---
mach-defpager/default_pager.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 9dad4c2..674f4c3 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -29,6 +29,9 @@
* MUST BE ABLE TO ALLOCATE WIRED-DOWN MEMORY!!!
*/
+#define _GNU_SOURCE
+#include <errno.h>
+
#include <mach.h>
#include <mach/message.h>
#include <mach/notify.h>
--
1.7.10.4
- Re: [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, (continued)
- Re: [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, Justus Winter, 2013/11/09
- Re: [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, Richard Braun, 2013/11/09
- Re: [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, Justus Winter, 2013/11/09
- Re: [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, Ludovic Courtès, 2013/11/09
Re: [PATCH 06/14] proc: turn {init, add}str, compare_versions into normal functions, Samuel Thibault, 2013/11/09
[PATCH 03/14] proc: remove declaration of nested functions from proc.h, Justus Winter, 2013/11/08
[PATCH 05/14] proc: turn reap into a normal function, Justus Winter, 2013/11/08
[PATCH 08/14] proc: fix a use-after-free error, Justus Winter, 2013/11/08
[PATCH 13/14] mach-defpager: include errno.h,
Justus Winter <=
[PATCH 02/14] libtrivfs: improve the out of memory handling in add_el, Justus Winter, 2013/11/08
[PATCH 12/14] mach-defpager: turn dealloc_direct into a normal function, Justus Winter, 2013/11/08
Re: [PATCH 01/14] term: fix error handling in hurdio_mdmctl, Samuel Thibault, 2013/11/09