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 (7 years, 1 month ago) by misho
Branches: pimd, MAIN
CVS tags: v2_3_2, HEAD
pimd 2.3.2

    1: /*
    2:  * Dummy header file to include the appropriate in.h for Linux
    3:  * The situation is pretty messy, and no guarantee it will work.
    4:  * Use your skills and imagination at your own risk :)
    5:  *
    6:  * Thanks to Jonathan Day for the problem report and the solution
    7:  *
    8:  */
    9: /*
   10:  *  Questions concerning this software should be directed to
   11:  *  Pavlin Ivanov Radoslavov (pavlin@catarina.usc.edu)
   12:  *
   13:  *  $Id: in-my.h,v 1.1.1.1 2017/06/12 07:59:38 misho Exp $
   14:  */
   15: 
   16: #include <features.h>
   17: 
   18: #if (defined(__GLIBC__) && (defined(__GLIBC_MINOR__)))
   19: # if (__GLIBC__ == 2) && (__GLIBC_MINOR__ == 0)
   20: #  include "in-glibc-2.0.h"
   21: # elif (__GLIBC__ == 2) && (__GLIBC_MINOR__ == 1)
   22: #  include "in-glibc-2.1.h"
   23: # else
   24: #  include <stdint.h>
   25: #  include <netinet/in.h>
   26: # endif /* __GLIBC__ */
   27: #else
   28: # include <linux/types.h>
   29: # include <arpa/inet.h>
   30: #endif
   31: 

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