diff options
Diffstat (limited to 'libshouldbeinlibc')
-rw-r--r-- | libshouldbeinlibc/portinfo.c | 3 | ||||
-rw-r--r-- | libshouldbeinlibc/portinfo.h | 2 | ||||
-rw-r--r-- | libshouldbeinlibc/xportinfo.c | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/libshouldbeinlibc/portinfo.c b/libshouldbeinlibc/portinfo.c index b04014da..6cb3f375 100644 --- a/libshouldbeinlibc/portinfo.c +++ b/libshouldbeinlibc/portinfo.c @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <sys/types.h> +#include <sys/mman.h> + #include "portinfo.h" /* Prints info about NAME in TASK to STREAM, in a way described by the flags diff --git a/libshouldbeinlibc/portinfo.h b/libshouldbeinlibc/portinfo.h index cc8d0730..143c2898 100644 --- a/libshouldbeinlibc/portinfo.h +++ b/libshouldbeinlibc/portinfo.h @@ -24,8 +24,6 @@ #include <stdio.h> #include <errno.h> #include <mach.h> -#include <sys/types.h> -#include <sys/mman.h> #include <portxlate.h> diff --git a/libshouldbeinlibc/xportinfo.c b/libshouldbeinlibc/xportinfo.c index f94bc4bd..bba84a12 100644 --- a/libshouldbeinlibc/xportinfo.c +++ b/libshouldbeinlibc/xportinfo.c @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <sys/types.h> +#include <sys/mman.h> + #include "portinfo.h" /* Prints info about NAME translated through X to STREAM, in a way described |