Annotation of embedaddon/pimd/include/linux/netinet/in-my.h, revision 1.1.1.1

1.1       misho       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.h,v 1.8 2000/03/08 09:12:45 pavlin 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>