include arpa/inet.h to get byte order conv

This commit is contained in:
Alexandre Ratchov 2012-10-06 12:29:02 +02:00
parent 258123a17c
commit 49feb9131a
3 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <grp.h>
#include <limits.h>
#include <pwd.h>
#include <signal.h>

View File

@ -79,6 +79,7 @@
#ifdef DEBUG
#include "dbg.h"
#endif
#include "bsd-compat.h"
int dev_open(struct dev *);
void dev_close(struct dev *);

View File

@ -17,6 +17,7 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>