Revert "Merge pull request #1153 from emersion/include-config"
This reverts commitef0a6ea4d2, reversing changes made to8d03bc9178.
This commit is contained in:
		
							parent
							
								
									83009d69bf
								
							
						
					
					
						commit
						4b096fc114
					
				|  | @ -13,7 +13,10 @@ | ||||||
| #include <wlr/backend/multi.h> | #include <wlr/backend/multi.h> | ||||||
| #include <wlr/backend/session.h> | #include <wlr/backend/session.h> | ||||||
| #include <wlr/backend/wayland.h> | #include <wlr/backend/wayland.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/util/log.h> | #include <wlr/util/log.h> | ||||||
|  | 
 | ||||||
|  | /* WLR_HAS_X11_BACKEND needs to be after wlr/config.h */ | ||||||
| #ifdef WLR_HAS_X11_BACKEND | #ifdef WLR_HAS_X11_BACKEND | ||||||
| #include <wlr/backend/x11.h> | #include <wlr/backend/x11.h> | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | @ -13,6 +13,7 @@ | ||||||
| #include <sys/types.h> | #include <sys/types.h> | ||||||
| #include <sys/wait.h> | #include <sys/wait.h> | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/util/log.h> | #include <wlr/util/log.h> | ||||||
| #include <xf86drm.h> | #include <xf86drm.h> | ||||||
| #ifdef __linux__ | #ifdef __linux__ | ||||||
|  |  | ||||||
|  | @ -11,6 +11,7 @@ | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <wayland-server.h> | #include <wayland-server.h> | ||||||
| #include <wlr/backend/session/interface.h> | #include <wlr/backend/session/interface.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/util/log.h> | #include <wlr/util/log.h> | ||||||
| #include "util/signal.h" | #include "util/signal.h" | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,6 +9,7 @@ | ||||||
| #include <wayland-server.h> | #include <wayland-server.h> | ||||||
| #include <wlr/backend/session.h> | #include <wlr/backend/session.h> | ||||||
| #include <wlr/backend/session/interface.h> | #include <wlr/backend/session/interface.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/util/log.h> | #include <wlr/util/log.h> | ||||||
| #include <xf86drm.h> | #include <xf86drm.h> | ||||||
| #include <xf86drmMode.h> | #include <xf86drmMode.h> | ||||||
|  |  | ||||||
|  | @ -7,6 +7,7 @@ | ||||||
| #include <wayland-server.h> | #include <wayland-server.h> | ||||||
| #include <wlr/backend/interface.h> | #include <wlr/backend/interface.h> | ||||||
| #include <wlr/backend/x11.h> | #include <wlr/backend/x11.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/interfaces/wlr_input_device.h> | #include <wlr/interfaces/wlr_input_device.h> | ||||||
| #include <wlr/interfaces/wlr_keyboard.h> | #include <wlr/interfaces/wlr_keyboard.h> | ||||||
| #include <wlr/interfaces/wlr_pointer.h> | #include <wlr/interfaces/wlr_pointer.h> | ||||||
|  |  | ||||||
|  | @ -1,4 +1,5 @@ | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/interfaces/wlr_input_device.h> | #include <wlr/interfaces/wlr_input_device.h> | ||||||
| #include <wlr/interfaces/wlr_keyboard.h> | #include <wlr/interfaces/wlr_keyboard.h> | ||||||
| #include <wlr/interfaces/wlr_pointer.h> | #include <wlr/interfaces/wlr_pointer.h> | ||||||
|  |  | ||||||
|  | @ -25,10 +25,6 @@ add_project_arguments( | ||||||
| 	'-I@0@'.format(meson.build_root()), | 	'-I@0@'.format(meson.build_root()), | ||||||
| 	language: 'c', | 	language: 'c', | ||||||
| ) | ) | ||||||
| add_project_arguments( |  | ||||||
| 	'-include@0@'.format(join_paths(meson.build_root(), 'include', 'wlr', 'config.h')), |  | ||||||
| 	language: 'c', |  | ||||||
| ) |  | ||||||
| add_project_link_arguments( | add_project_link_arguments( | ||||||
| 	'-Wl,-rpath,@0@'.format(meson.build_root()), | 	'-Wl,-rpath,@0@'.format(meson.build_root()), | ||||||
| 	language: 'c', | 	language: 'c', | ||||||
|  |  | ||||||
|  | @ -8,6 +8,7 @@ | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <wayland-server.h> | #include <wayland-server.h> | ||||||
| #include <types/wlr_tablet_v2.h> | #include <types/wlr_tablet_v2.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/types/wlr_seat.h> | #include <wlr/types/wlr_seat.h> | ||||||
| #include <wlr/types/wlr_tablet_tool.h> | #include <wlr/types/wlr_tablet_tool.h> | ||||||
| #include <wlr/types/wlr_tablet_v2.h> | #include <wlr/types/wlr_tablet_v2.h> | ||||||
|  |  | ||||||
|  | @ -4,6 +4,7 @@ | ||||||
| #include <assert.h> | #include <assert.h> | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
|  | #include <wlr/config.h> | ||||||
| #include <wlr/types/wlr_surface.h> | #include <wlr/types/wlr_surface.h> | ||||||
| #include <wlr/util/edges.h> | #include <wlr/util/edges.h> | ||||||
| #include <wlr/util/log.h> | #include <wlr/util/log.h> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue