Back to index

nagios-plugins  1.4.16
netinet_in.in.h
Go to the documentation of this file.
00001 /* Substitute for <netinet/in.h>.
00002    Copyright (C) 2007-2010 Free Software Foundation, Inc.
00003 
00004    This program is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 3, or (at your option)
00007    any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program; if not, write to the Free Software Foundation,
00016    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
00017 
00018 #ifndef _GL_NETINET_IN_H
00019 
00020 #if __GNUC__ >= 3
00021 @PRAGMA_SYSTEM_HEADER@
00022 #endif
00023 
00024 #if @HAVE_NETINET_IN_H@
00025 
00026 /* On many platforms, <netinet/in.h> assumes prior inclusion of
00027    <sys/types.h>.  */
00028 # include <sys/types.h>
00029 
00030 /* The include_next requires a split double-inclusion guard.  */
00031 # @INCLUDE_NEXT@ @NEXT_NETINET_IN_H@
00032 
00033 #endif
00034 
00035 #ifndef _GL_NETINET_IN_H
00036 #define _GL_NETINET_IN_H
00037 
00038 #if !@HAVE_NETINET_IN_H@
00039 
00040 /* A platform that lacks <netinet/in.h>.  */
00041 
00042 # include <sys/socket.h>
00043 
00044 #endif
00045 
00046 #endif /* _GL_NETINET_IN_H */
00047 #endif /* _GL_NETINET_IN_H */