Mercurial > hg > quicktun
diff src/common.c @ 8:6d86596d8884
Fixed BSD support, improved randombytes/secret key generation
author | ivo <Ivo@UCIS.nl> |
---|---|
date | Thu, 14 Oct 2010 02:15:55 +0200 |
parents | fd7c60905b13 |
children | 640f620a55cf |
line wrap: on
line diff
--- a/src/common.c Wed Oct 13 21:07:44 2010 +0200 +++ b/src/common.c Thu Oct 14 02:15:55 2010 +0200 @@ -31,11 +31,11 @@ #include <netinet/in.h> #endif #include <sys/ioctl.h> -#include <net/if.h> #include <sys/socket.h> #include <poll.h> #include <netdb.h> #include <stdlib.h> +#include <net/if.h> #ifdef linux #include <linux/if_tun.h> #include <linux/if_ether.h>