mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:32:44 +00:00 
			
		
		
		
	 6b849fc8b1
			
		
	
	
		6b849fc8b1
		
	
	
	
	
		
			
			This allows us to get rid of an include to LibC/sys/ttydefaults.h in the Kernel TTY implementation. Also, move ttydefchars static const struct to another file called Kernel/API/ttydefaultschars.h, so it could be used too in the Kernel TTY implementation without the need to include anything from LibC.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			265 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			265 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Daniel Bertalan <dani@danielbertalan.dev>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <Kernel/API/ttydefaults.h>
 | |
| 
 | |
| #ifdef TTYDEFCHARS
 | |
| #    include <termios.h>
 | |
| 
 | |
| #    include <Kernel/API/ttydefaultschars.h>
 | |
| #endif
 |