Changes to compile under FreeBSD.
FossilOrigin-Name: bbf2ef523268fba782ce3c4174131a069eaf2e1ce2ce0ea6851aa1ff8ec73a19
This commit is contained in:
		@ -16,7 +16,14 @@
 | 
				
			|||||||
*/
 | 
					*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#if __FreeBSD__
 | 
				
			||||||
 | 
						#include <sys/endian.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
	#include <endian.h>
 | 
						#include <endian.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "dot11.h"
 | 
					#include "dot11.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,10 @@
 | 
				
			|||||||
#include <errno.h>
 | 
					#include <errno.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#ifdef __FreeBSD__
 | 
				
			||||||
 | 
						#include "sys/endian.h"
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
	#include <endian.h>
 | 
						#include <endian.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user