mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #1402 from johalun/event-codes-include-fix
Fix include path to input-event-codes.h for FreeBSD.
This commit is contained in:
		
						commit
						67f9b7fe5b
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -7,7 +7,11 @@
 | 
				
			||||||
#include <sys/wait.h>
 | 
					#include <sys/wait.h>
 | 
				
			||||||
#include <signal.h>
 | 
					#include <signal.h>
 | 
				
			||||||
#include <poll.h>
 | 
					#include <poll.h>
 | 
				
			||||||
 | 
					#ifdef __FreeBSD__
 | 
				
			||||||
 | 
					#include <dev/evdev/input-event-codes.h>
 | 
				
			||||||
 | 
					#else
 | 
				
			||||||
#include <linux/input-event-codes.h>
 | 
					#include <linux/input-event-codes.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifdef ENABLE_TRAY
 | 
					#ifdef ENABLE_TRAY
 | 
				
			||||||
#include <dbus/dbus.h>
 | 
					#include <dbus/dbus.h>
 | 
				
			||||||
#include "swaybar/tray/sni_watcher.h"
 | 
					#include "swaybar/tray/sni_watcher.h"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue