forked from bonsai/harakit
		
	npc(1): without <sysexits.h> fall back to ANSI C
This commit is contained in:
		
							parent
							
								
									cee6575a57
								
							
						
					
					
						commit
						1bc574eafa
					
				@ -18,9 +18,13 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <stdio.h> /* fprintf(3), fputs(3), getc(3), putc(3), stdin, stdout,
 | 
					#include <stdio.h> /* fprintf(3), fputs(3), getc(3), putc(3), stdin, stdout,
 | 
				
			||||||
                    * EOF */
 | 
					                    * EOF */
 | 
				
			||||||
 | 
					#include <stdlib.h> /* EXIT_FAILURE, EXIT_SUCCESS */
 | 
				
			||||||
#include <unistd.h> /* getopt(3) */
 | 
					#include <unistd.h> /* getopt(3) */
 | 
				
			||||||
#if !defined EX_USAGE || !defined EX_OK
 | 
					#if !defined EX_USAGE
 | 
				
			||||||
#	include <sysexits.h>
 | 
					#	define EX_USAGE EXIT_FAILURE
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
 | 
					#if !defined EX_OK
 | 
				
			||||||
 | 
					#	define EX_OK EXIT_SUCCESS
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
int main(int argc, char *argv[]){
 | 
					int main(int argc, char *argv[]){
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user