/*
- * $Id: macbin.c,v 1.15 2010-01-27 21:27:53 didg Exp $
*/
#ifdef HAVE_CONFIG_H
#include <sys/uio.h>
#include <sys/time.h>
#include <sys/param.h>
-#ifdef HAVE_FCNTL_H
#include <fcntl.h>
-#endif /* HAVE_FCNTL_H */
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif /* HAVE_UNISTD_H */
#include <string.h>
#include <strings.h>
#include <ctype.h>
ssize_t bin_write(int fork, char *buffer, size_t length)
{
char *buf_ptr;
- size_t writelen;
+ ssize_t writelen;
ssize_t cc = 0;
off_t pos;
u_char padchar = 0x7f;
int test_header(void)
{
const char zeros[25] = "";
- u_int32_t cc;
+ ssize_t cc;
u_short header_crc;
u_char namelen;