Add support for GNU/kFreeBSD
Change the ifdefery to use existing code to support GNU/kFreeBSD. Fixes bug 3043.master
							parent
							
								
									3d15b6fb40
								
							
						
					
					
						commit
						cd6830349d
					
				
							
								
								
									
										1
									
								
								README
								
								
								
								
							
							
						
						
									
										1
									
								
								README
								
								
								
								
							|  | @ -10,6 +10,7 @@ Following operating systems are supported: | |||
|  * Sun Solaris | ||||
|  * HP_UX | ||||
|  * MacOS X | ||||
|  * GNU/kFreeBSD | ||||
| 
 | ||||
| I have only Linux installed so I can test only on Linux. If you encounter any | ||||
| problems on other operating systems (or on Linux, of course) feel free to send | ||||
|  |  | |||
|  | @ -46,7 +46,7 @@ | |||
| #elif __APPLE__ | ||||
| # include "src/macos.h" | ||||
| # include "src/macos.c" | ||||
| #elif __FreeBSD__ || __DragonFly__ | ||||
| #elif __FreeBSD__ || __DragonFly__ || __FreeBSD_kernel__ | ||||
| # include "wormulon/freebsd.h" | ||||
| # include "wormulon/freebsd.c" | ||||
| #elif __linux__ | ||||
|  |  | |||
|  | @ -65,7 +65,7 @@ typedef struct | |||
| #ifdef __HPUX__ | ||||
|     int             wait_pcks_counter; | ||||
|     nmapi_logstat*  if_ptr; | ||||
| #elif __FreeBSD__ || __DragonFly__ | ||||
| #elif __FreeBSD__ || __DragonFly__ || __FreeBSD_kernel__ | ||||
|     int             watchif; | ||||
|     int             dev_opened; | ||||
| #elif __NetBSD__ | ||||
|  |  | |||
|  | @ -96,7 +96,7 @@ | |||
| #  include <arpa/inet.h> | ||||
| #  include <net/ppp_layer/ppp_defs.h> | ||||
| #  include <net/ppp/if_ppp.h> | ||||
| #elif __FreeBSD__           /* F R E E B S D */ | ||||
| #elif __FreeBSD__ || __FreeBSD_kernel__           /* F R E E B S D */ | ||||
| #  include <stdio.h> | ||||
| #  include <stdlib.h> | ||||
| #  include <stdarg.h> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Florian Rivoal
						Florian Rivoal