/*****************************************************************************\ * Copyright (c) 2002-2003 Pelle Johansson. * * All rights reserved. * * * * This file is part of the moftpd package. Use and distribution of * * this software is governed by the terms in the file LICENCE, which * * should have come with this package. * \*****************************************************************************/ /* $moftpd: system.h.in 1224 2004-10-28 22:42:00Z morth $ */ #ifndef _SYSTEM_H #define _SYSTEM_H #ifdef HAVE_CONFIG_H #include "autoconf.h" #include "autopaths.h" #endif #define _GNU_SOURCE // Needed on linux //#define _XOPEN_SOURCE // Needed for SunOS, others? #include #include #include #include #include #include #include #include #ifdef HAVE_STDINT_H #include #endif #include #include #include #include #include #include #include #include #ifdef HAVE_SYS_RESOURCE_H #include #endif #include #ifdef HAVE_SYS_EVENT_H #include #endif #ifdef HAVE_SYS_EPOLL_H #include #endif #include #include #include #include #ifdef HAVE_ARPA_INET_H #include #endif #include #include #include #include #include #include #include #ifdef HAVE_SIGNAL_H #include #endif #include #ifdef HAVE_CRYPT_H #include #endif #ifdef HAVE_SHADOW_H #include #endif #ifdef HAVE_GNUTLS #include #include #endif #ifdef HAVE_LIBSSL #include #include #endif #ifdef HAVE_PAM_PAM_APPL_H #include #elif defined(HAVE_SECURITY_PAM_APPL_H) #include #endif #ifdef HAVE_MYSQL #include #endif #include "compat.h" #endif /*_SYSTEM_H*/