X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Finit.c;h=6085b6892bb9cc068f8611aa90113a5ec1b5f910;hb=00748f36c57324ccc2cb21ac9af45d15821cf675;hp=ecfdcf58ad9d0c8551ec13eb1c1d8586383f81e0;hpb=622489d36e0a2d1b15f0ed9aa92a84fae1bc54fd;p=deb_libnfs.git diff --git a/lib/init.c b/lib/init.c index ecfdcf5..6085b68 100644 --- a/lib/init.c +++ b/lib/init.c @@ -11,16 +11,21 @@ You should have received a copy of the GNU Lesser General Public License along with this program; if not, see . */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #ifdef WIN32 #include "win32_compat.h" -#define close closesocket #else -#include #include #endif/*WIN32*/ #define _GNU_SOURCE +#ifdef HAVE_UNISTD_H +#include +#endif + #include #include #include