#ifdef HAVE_CONFIG_H #include RCSID("$Id: ktypes.c,v 1.4 1997/05/31 08:52:09 bg Exp $"); #endif #ifdef HAVE_SYS_TYPES_H #include #endif #ifdef HAVE_SYS_BITYPES_H #include #endif #ifdef HAVE_BIND_BITYPES_H #include #endif #ifdef HAVE_NETINET_IN6_MACHTYPES_H #include #endif int main(void) { printf ("/*\n" " * This file was automatically generated by\n" " * $Id: ktypes.c,v 1.4 1997/05/31 08:52:09 bg Exp $.\n" " * Please do not edit\n" " */\n\n"); printf ("#ifndef __KTYPES_H__\n" "#define __KTYPES_H__\n\n"); #ifdef HAVE_SYS_TYPES_H printf("#include \n"); #endif #ifdef HAVE_SYS_BITYPES_H printf("#include \n"); #endif #ifdef HAVE_BIND_BITYPES_H printf("#include \n"); #endif #ifdef HAVE_NETINET_IN6_MACHTYPES_H printf("#include \n"); #endif #ifndef HAVE_INT8_T printf("typedef signed char int8_t;\n"); #endif #ifndef HAVE_U_INT8_T printf("typedef unsigned char u_int8_t;\n"); #endif #ifndef HAVE_INT16_T printf("typedef short int16_t;\n"); #endif #ifndef HAVE_U_INT16_T printf("typedef unsigned short u_int16_t;\n"); #endif #ifndef HAVE_INT32_T printf("typedef int int32_t;\n"); #endif #ifndef HAVE_U_INT32_T printf("typedef unsigned int u_int32_t;\n"); #endif printf("\n#endif /* __KTYPES_H__ */\n"); return 0; }