mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Move #include <sys/param.h> to before osdefs.h (Donn Cave).
This commit is contained in:
		
							parent
							
								
									8766a7797e
								
							
						
					
					
						commit
						cecadc469b
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		|  | @ -33,6 +33,11 @@ PERFORMANCE OF THIS SOFTWARE. | |||
| /* If no dynamic linking is supported, this file still generates some code! */ | ||||
| 
 | ||||
| #include "Python.h" | ||||
| 
 | ||||
| #ifdef HAVE_SYS_PARAM_H | ||||
| /* osdefs.h will define MAXPATHLEN if it's not already defined. */ | ||||
| #include <sys/param.h> | ||||
| #endif | ||||
| #include "osdefs.h" | ||||
| #include "importdl.h" | ||||
| 
 | ||||
|  | @ -89,10 +94,6 @@ typedef int (* APIENTRY dl_funcptr)(); | |||
| #define LONG_EXT ".dll" | ||||
| #endif | ||||
| 
 | ||||
| #ifdef HAVE_SYS_PARAM_H | ||||
| #include <sys/param.h> | ||||
| #endif | ||||
| 
 | ||||
| #if defined(__NetBSD__) && (NetBSD < 199712) | ||||
| #define DYNAMIC_LINK | ||||
| #define USE_SHLIB | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum