X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=bin%2Fmegatron%2Fmacbin.c;h=51b7ac5f616ede35aeb604892e423e3bbf4a35e6;hb=dc0f3a5d97e0878f6f0e85ae3ae74ad68be6c037;hp=b317c2fa2d0614ee93e9f8afd99f40e347e02545;hpb=26df0a6b00bd3288c1fa11b2249cb47dbb361df9;p=netatalk.git diff --git a/bin/megatron/macbin.c b/bin/megatron/macbin.c index b317c2fa..51b7ac5f 100644 --- a/bin/megatron/macbin.c +++ b/bin/megatron/macbin.c @@ -10,12 +10,8 @@ #include #include #include -#ifdef HAVE_FCNTL_H #include -#endif /* HAVE_FCNTL_H */ -#ifdef HAVE_UNISTD_H #include -#endif /* HAVE_UNISTD_H */ #include #include #include @@ -523,7 +519,7 @@ int bin_header_write(struct FHeader *fh) int test_header(void) { const char zeros[25] = ""; - u_int32_t cc; + ssize_t cc; u_short header_crc; u_char namelen;