mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-11-04 00:52:11 +00:00 
			
		
		
		
	fix compilation errors, OSX 10.6-10.9
* add missing headers * https://github.com/Swordifish90/cool-old-term/issues/12
This commit is contained in:
		@@ -1,6 +1,14 @@
 | 
				
			|||||||
#if defined (__APPLE__)
 | 
					#if defined (__APPLE__)
 | 
				
			||||||
#include <utmp.h>
 | 
					#include <utmp.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <cstdio>
 | 
				
			||||||
 | 
					#include <cstdlib>
 | 
				
			||||||
 | 
					#include <cstring>
 | 
				
			||||||
 | 
					#include <unistd.h>
 | 
				
			||||||
 | 
					#include <limits.h>
 | 
				
			||||||
 | 
					#include <fcntl.h>
 | 
				
			||||||
 | 
					#include <sys/stat.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct utmp *getutent();
 | 
					struct utmp *getutent();
 | 
				
			||||||
struct utmp *getutid( struct utmp * );
 | 
					struct utmp *getutid( struct utmp * );
 | 
				
			||||||
struct utmp *getutline( struct utmp * );
 | 
					struct utmp *getutline( struct utmp * );
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user