]> gitweb @ CieloNegro.org - daemon.git/blobdiff - pidfile.c
configure.ac fix
[daemon.git] / pidfile.c
index 8fc42c9ae621bc371085ae4b83ceadf6273cf513..58790d36ffa3571751ffbbc03d4d01b1b5765c9d 100644 (file)
--- a/pidfile.c
+++ b/pidfile.c
  * SUCH DAMAGE.
  */
 
+#include "config.h"
+
 #include "pidfile.h"
 #include "flopen.h"
+#include "getprogname.h"
 
 #include <sys/cdefs.h>
 #include <sys/file.h>
@@ -36,7 +39,6 @@
 #include <fcntl.h>
 #include <string.h>
 #include <time.h>
-#include <err.h>
 #include <errno.h>
 
 static int _pidfile_remove(struct pidfh *pfh, int freeit);