mirror of
				https://github.com/samba-team/samba.git
				synced 2025-10-31 12:23:52 +03:00 
			
		
		
		
	r3428: switched to using minimal includes for the auto-generated RPC code.
The thing that finally convinced me that minimal includes was worth pursuing for rpc was a compiler (tcc) that failed to build Samba due to reaching internal limits of the size of include files. Also the fact that includes.h.gch was 16MB, which really seems excessive. This patch brings it back to 12M, which is still too large, but better. Note that this patch speeds up compile times for both the pch and non-pch case. This change also includes the addition iof a "depends()" option in our IDL files, allowing you to specify that one IDL file depends on another. This capability was needed for the auto-includes generation.
This commit is contained in:
		
				
					committed by
					
						 Gerald (Jerry) Carter
						Gerald (Jerry) Carter
					
				
			
			
				
	
			
			
			
						parent
						
							8d71ed9271
						
					
				
				
					commit
					b8f5fa8ac8
				
			| @@ -21,6 +21,7 @@ | ||||
| */ | ||||
|  | ||||
| #include "includes.h" | ||||
| #include "librpc/gen_ndr/ndr_netlogon.h" | ||||
| #include "rpc_server/common/common.h" | ||||
|  | ||||
| struct server_pipe_state { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user