Conditionally include sys/socket.h
This commit is contained in:
		
							parent
							
								
									451c907dba
								
							
						
					
					
						commit
						7fcca928fb
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -1,5 +1,3 @@ | |||
| #include <netinet/if_ether.h> | ||||
| #include <sys/socket.h> | ||||
| #include <sys/types.h> | ||||
| #include <stdbool.h> | ||||
| #include <string.h> | ||||
|  | @ -23,6 +21,7 @@ | |||
| #include <winsock2.h> | ||||
| #include <iphlpapi.h> | ||||
| #else | ||||
| #include <sys/socket.h> | ||||
| #include <ifaddrs.h> | ||||
| #if defined(NMRPFLASH_LINUX) | ||||
| #include <linux/if_packet.h> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue