Add release checklist.
[darkstat] / err.c
diff --git a/err.c b/err.c
index e42a1ba..3b42d18 100644 (file)
--- a/err.c
+++ b/err.c
  */
 
 #include "cdefs.h"
-#include "conv.h"
 #include "err.h"
 #include "opt.h"
 #include "pidfile.h"
+#include "bsd.h" /* for strlcpy */
 
 #include <errno.h>
 #include <stdarg.h>
@@ -29,7 +29,6 @@
 #include <string.h>
 #include <syslog.h>
 #include <unistd.h>
-#include <unistd.h>
 
 static void to_syslog(const char *type, const int want_err,
           const char *format, va_list va) _printflike_(3, 0);