-/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#define u_short __u_short
#define u_int __u_int
#define u_long __u_long
-#define quad __quad
-#define u_quad __u_quad
+#define quad_t __quad_t
+#define u_quad_t __u_quad_t
#define fsid_t __fsid_t
#endif
#define __need_size_t
#include <stddef.h>
+#ifdef __USE_MISC
+/* Old compatibility names for C types. */
+typedef unsigned short int ushort;
+typedef unsigned int uint;
+#endif
+
+#ifdef __USE_BSD
+/* These size-specific names are used by some of the inet code. */
+
+typedef char int8_t;
+typedef unsigned char u_int8_t;
+typedef short int int16_t;
+typedef unsigned short int u_int16_t;
+typedef int int32_t;
+typedef unsigned int u_int32_t;
+#ifdef __GNUC__
+typedef long long int int64_t;
+typedef unsigned long long int u_int64_t;
+typedef int register_t __attribute__ ((__mode__ (word)));
+#endif
+
+/* Some code from BIND tests this macro to see if the types above are
+ defined. */
+#define __BIT_TYPES_DEFINED__ 1
+#endif
+
+
+#ifdef __USE_SVID
+/* Data type for key value used in System V IPC functions. */
+typedef long int key_t;
+#endif
+
#ifdef __USE_BSD