summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/xportinfo.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-11 19:56:44 +0000
committerRoland McGrath <roland@gnu.org>1999-07-11 19:56:44 +0000
commite345864d418be75f391241b8debdb1e793d64463 (patch)
tree923ee12d27591a5bb393dab59ac819a3d1a64222 /libshouldbeinlibc/xportinfo.c
parentffa6fee9e2be655154a9d01206c5ec4d1f733010 (diff)
1999-07-11 Roland McGrath <roland@baalperazim.frob.com>
* portinfo.h: Don't include <sys/types.h>, <sys/mman.h>. This is an exported header, and its decls don't need them. * portinfo.c: Include them here instead. * xportinfo.c: And here.
Diffstat (limited to 'libshouldbeinlibc/xportinfo.c')
-rw-r--r--libshouldbeinlibc/xportinfo.c3
1 files changed, 3 insertions, 0 deletions
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