X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=lib%2Fpidfile.c;h=368dad45080d08ac7c6154b06ef8ac4aeda134e4;hp=a954d18f92851b8f9022ded10ce92733f18b907c;hb=013a2e159e42c46808ea8d0b6abd57525db30a50;hpb=efa5148bc76effb440d807d653dda02de050fde0 diff --git a/lib/pidfile.c b/lib/pidfile.c index a954d18f..368dad45 100644 --- a/lib/pidfile.c +++ b/lib/pidfile.c @@ -25,16 +25,9 @@ * First version (v0.2) released */ -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "system.h" +#ifndef HAVE_MINGW /* read_pid * * Reads the specified pidfile and returns the read pid. @@ -135,4 +128,4 @@ int remove_pid (char *pidfile) { return unlink (pidfile); } - +#endif