Fix compile errors and warnings.
[tinc] / lib / pidfile.c
index 2dea70b..368dad4 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "system.h"
 
+#ifndef HAVE_MINGW
 /* read_pid
  *
  * Reads the specified pidfile and returns the read pid.
@@ -127,4 +128,4 @@ int remove_pid (char *pidfile)
 {
   return unlink (pidfile);
 }
-  
+#endif