File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / pimd / include / linux / netinet / in-my.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jun 12 07:59:38 2017 UTC (8 years ago) by misho
Branches: pimd, MAIN
CVS tags: v2_3_2, HEAD
pimd 2.3.2

/*
 * Dummy header file to include the appropriate in.h for Linux
 * The situation is pretty messy, and no guarantee it will work.
 * Use your skills and imagination at your own risk :)
 *
 * Thanks to Jonathan Day for the problem report and the solution
 *
 */
/*
 *  Questions concerning this software should be directed to
 *  Pavlin Ivanov Radoslavov (pavlin@catarina.usc.edu)
 *
 *  $Id: in-my.h,v 1.1.1.1 2017/06/12 07:59:38 misho Exp $
 */

#include <features.h>

#if (defined(__GLIBC__) && (defined(__GLIBC_MINOR__)))
# if (__GLIBC__ == 2) && (__GLIBC_MINOR__ == 0)
#  include "in-glibc-2.0.h"
# elif (__GLIBC__ == 2) && (__GLIBC_MINOR__ == 1)
#  include "in-glibc-2.1.h"
# else
#  include <stdint.h>
#  include <netinet/in.h>
# endif /* __GLIBC__ */
#else
# include <linux/types.h>
# include <arpa/inet.h>
#endif


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>