From: Florian Forster Date: Thu, 10 May 2007 07:50:32 +0000 (+0200) Subject: email plugin: Include rather than . X-Git-Tag: collectd-4.0.0-rc10~34 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9217c5a2be220c024bea80841b8ab7786f85374f;p=collectd.git email plugin: Include rather than . --- diff --git a/src/email.c b/src/email.c index b4767554..5d011d36 100644 --- a/src/email.c +++ b/src/email.c @@ -44,20 +44,9 @@ # include #endif -#if HAVE_SYS_SELECT_H -# include -#endif /* HAVE_SYS_SELECT_H */ - -#if HAVE_SYS_SOCKET_H -# include -#endif /* HAVE_SYS_SOCKET_H */ - -/* *sigh* glibc does not define UNIX_PATH_MAX in sys/un.h ... */ -#if HAVE_LINUX_UN_H -# include -#elif HAVE_SYS_UN_H -# include -#endif /* HAVE_LINUX_UN_H | HAVE_SYS_UN_H */ +#include +#include +#include /* some systems (e.g. Darwin) seem to not define UNIX_PATH_MAX at all */ #ifndef UNIX_PATH_MAX