Including <arpa/inet.h>

This commit is contained in:
Thomas Schmitt 2012-05-24 13:54:49 +02:00
parent f040f31d05
commit 201e7f15df

View File

@ -32,8 +32,11 @@
#define HFSPLUS_BLOCK_SIZE BLOCK_SIZE #define HFSPLUS_BLOCK_SIZE BLOCK_SIZE
#define HFSPLUS_CAT_NODE_SIZE (2 * BLOCK_SIZE) #define HFSPLUS_CAT_NODE_SIZE (2 * BLOCK_SIZE)
uint16_t ntohs(uint16_t netshort); /* Linux: <arpa/inet.h> */ #include <arpa/inet.h>
uint16_t htons(uint16_t hostshort); /* Linux: <arpa/inet.h> */ /* For these prototypes:
uint16_t ntohs(uint16_t netshort);
uint16_t htons(uint16_t hostshort);
*/
static static