#include <h/mh.h>
#include <h/dropsbr.h>
#include <h/tws.h>
-
-#ifdef HAVE_ERRNO_H
-# include <errno.h>
-#endif
-
+#include <errno.h>
#include <fcntl.h>
if (i != 0 && strncmp(buffer, "From ", 5) == 0) {
write(to, ">", 1);
}
- if (write(to, buffer, strlen(buffer)) != strlen(buffer)) {
+ if (write(to, buffer, strlen(buffer)) != (int)strlen(buffer)) {
fclose(fp);
return NOTOK;
}