mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Define PATH_MAX if it's not defined
Fixes FTBFS on Hurd. [Dirk Hohndel: changed PATH_MAX to 4096 for consistency with Linux] Signed-off-by: Salvo 'LtWorf' Tomaselli <tiposchi@tiscali.it> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									6bb6e43846
								
							
						
					
					
						commit
						2a1a640227
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -29,6 +29,10 @@ | |||
| #include <QUrlQuery> | ||||
| #endif | ||||
| 
 | ||||
| #ifndef PATH_MAX | ||||
| #define PATH_MAX 4096 | ||||
| #endif | ||||
| 
 | ||||
| struct dive_table gps_location_table; | ||||
| static bool merge_locations_into_dives(void); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue