diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-08-02 02:50:57 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-08-02 02:50:57 +0000 |
commit | fcd7bb224b0ec365e644e1ab02946ad1258e116f (patch) | |
tree | 85cdc3d29a0cb383cc3053e23756780bfd6601a7 | |
parent | c67fc92a04ba1d91fa211f9a22d70be80faf8db1 (diff) | |
download | fetchmail-fcd7bb224b0ec365e644e1ab02946ad1258e116f.tar.gz fetchmail-fcd7bb224b0ec365e644e1ab02946ad1258e116f.tar.bz2 fetchmail-fcd7bb224b0ec365e644e1ab02946ad1258e116f.zip |
Fix FreeBSD compiler warning from broken includes.
svn path=/trunk/; revision=4230
-rw-r--r-- | servport.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -12,10 +12,11 @@ #include <stdlib.h> #include <string.h> #include <netdb.h> +#if defined(HAVE_NETINET_IN_H) +#include <netinet/in.h> +#endif #ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> -#elif defined(HAVE_NETINET_IN_H) -#include <netinet/in.h> #endif int servport(const char *service) { |