aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2004-08-04 00:04:32 +0000
committerH. Peter Anvin <hpa@zytor.com>2004-08-04 00:04:32 +0000
commit704377c0342cecf8b1e0990fe870b1fa2ea202ea (patch)
tree55b9894373507deff80aa5532cb24cbb814044bb
parentc0df67a2123b39da1269e333d34f9a7aefb4e350 (diff)
downloadklibc-704377c0342cecf8b1e0990fe870b1fa2ea202ea.tar.gz
Use <netinet/in.h> for htonlklibc-0.159
-rw-r--r--utils/fstype.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/fstype.c b/utils/fstype.c
index 743e449f87945..c51fc93d296c1 100644
--- a/utils/fstype.c
+++ b/utils/fstype.c
@@ -11,12 +11,12 @@
*
* MINIX, ext3 and Reiserfs bits are currently untested.
*/
+
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
-
-#include <asm/byteorder.h>
+#include <netinet/in.h>
#include <linux/romfs_fs.h>
#include <linux/cramfs_fs.h>
@@ -32,8 +32,6 @@
*/
#include "reiserfs_fs.h"
-#define htonl __cpu_to_be32
-
char *progname;
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))