Changes to compile under FreeBSD.

FossilOrigin-Name: bbf2ef523268fba782ce3c4174131a069eaf2e1ce2ce0ea6851aa1ff8ec73a19
This commit is contained in:
7u83@mail.ru 2015-05-04 17:07:39 +00:00
parent 722f9b3aba
commit 9fb9db8539
2 changed files with 13 additions and 2 deletions

View File

@ -16,7 +16,14 @@
*/ */
#include <stdio.h> #include <stdio.h>
#include <endian.h>
#if __FreeBSD__
#include <sys/endian.h>
#else
#include <endian.h>
#endif
#include "dot11.h" #include "dot11.h"

View File

@ -1,6 +1,10 @@
#include <errno.h> #include <errno.h>
#include <endian.h> #ifdef __FreeBSD__
#include "sys/endian.h"
#else
#include <endian.h>
#endif