diff options
author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-24 15:33:34 +0000 |
---|---|---|
committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-10-24 15:33:34 +0000 |
commit | 50f1aac0e2f5b81166fc35712cb407868a42284d (patch) | |
tree | 4eb310af7621178e5e7766219c0b83520406cf87 /include/sysinc.h | |
parent | ef4601e1c927a113d636de23fa80fa973a4407f6 (diff) | |
download | zabbix-50f1aac0e2f5b81166fc35712cb407868a42284d.tar.gz zabbix-50f1aac0e2f5b81166fc35712cb407868a42284d.tar.xz zabbix-50f1aac0e2f5b81166fc35712cb407868a42284d.zip |
- added one include file 'sysinc.h' (Eugene)
- fixed some warnings (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2220 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/sysinc.h')
-rw-r--r-- | include/sysinc.h | 195 |
1 files changed, 195 insertions, 0 deletions
diff --git a/include/sysinc.h b/include/sysinc.h new file mode 100644 index 00000000..fb26d791 --- /dev/null +++ b/include/sysinc.h @@ -0,0 +1,195 @@ +/* +** ZABBIX +** Copyright (C) 2000-2005 SIA Zabbix +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +**/ + +#ifndef ZABBIX_SYSINC_H +#define ZABBIX_SYSINC_H + +#include "config.h" + +#include <stdio.h> +#include <stdlib.h> + +#ifdef HAVE_ARPA_INET_H +# include <arpa/inet.h> +#endif + +#ifdef HAVE_CTYPE_H +# include <ctype.h> +#endif + +#ifdef HAVE_DIRENT_H +# include <dirent.h> +#endif + +#ifdef HAVE_ERRNO_H +# include <errno.h> +#endif + +#ifdef HAVE_FCNTL_H +# include <fcntl.h> +#endif + +#ifdef HAVE_KNLIST_H +# include <knlist.h> +#endif + +#ifdef HAVE_KSTAT_H +# include <kstat.h> +#endif + +#ifdef HAVE_LDAP_H + #include <ldap.h> +#endif + +#ifdef HAVE_MACH_HOST_INFO_H +# include <mach/host_info.h> +#endif + +#ifdef HAVE_MACH_MACH_HOST_H +# include <mach/mach_host.h> +#endif + +#ifdef HAVE_MTENT_H +# include <mtent.h> +#endif + +#ifdef HAVE_NETDB_H +# include <netdb.h> +#endif + +#ifdef HAVE_NETINET_IN_H +# include <netinet/in.h> +#endif + +#ifdef HAVE_PWD_H +# include <pwd.h> +#endif + +#ifdef HAVE_SIGNAL_H +# include <signal.h> +#endif + +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif + +#ifdef HAVE_STRING_H +# include <string.h> +#endif + +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif + +#ifdef HAVE_SYS_LOADAVG_H +# include <sys/loadavg.h> +#endif + +#ifdef HAVE_SYS_MOUNT_H +# include <sys/mount.h> +#endif + +#ifdef HAVE_SYS_PARAM_H +# include <sys/param.h> +#endif + +#ifdef HAVE_SYS_PROC_H +# include <sys/proc.h> +#endif + +#ifdef HAVE_SYS_PROCFS_H +/* This is needed to access the correct procfs.h definitions */ +# define _STRUCTURED_PROC 1 +# include <sys/procfs.h> +#endif + +#ifdef HAVE_SYS_PSTAT_H +# include <sys/pstat.h> +#endif + +#ifdef HAVE_SYS_SOCKET_H +# include <sys/socket.h> +#endif + +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif + +#ifdef HAVE_SYS_STATVFS_H +# include <sys/statvfs.h> +#endif + +#ifdef HAVE_SYS_SWAP_H +# include <sys/swap.h> +#endif + +#ifdef HAVE_SYS_SYSCALL_H +# include <sys/syscall.h> +#endif + +#ifdef HAVE_SYS_SYSCTL_H +# include <sys/sysctl.h> +#endif + +#ifdef HAVE_SYS_SYSINFO_H +# include <sys/sysinfo.h> +#endif + +#ifdef HAVE_SYS_SYSMACROS_H +# include <sys/sysmacros.h> +#endif + +#ifdef HAVE_SYS_TIME_H +# include <sys/time.h> +#endif + +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif + +#ifdef HAVE_SYS_VAR_H +# include <sys/var.h> +#endif + +#ifdef HAVE_SYS_VFS_H +# include <sys/vfs.h> +#endif + +#ifdef HAVE_SYS_VMMETER_H +# include <sys/vmmeter.h> +#endif + +#ifdef HAVE_SYSLOG_H +# include <syslog.h> +#endif + +#ifdef HAVE_TIME_H +# include <time.h> +#endif + +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif + +#ifdef HAVE_VM_VM_PARAM_H +# include <vm/vm_param.h> +#endif + +#endif + |