mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	io.c: sys/wait.h
* io.c: BSDs need sys/wait.h for WNOHANG. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									1ab8dc3da8
								
							
						
					
					
						commit
						67f7e82eed
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								io.c
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								io.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -96,6 +96,10 @@
 | 
			
		|||
#include <sys/uio.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef HAVE_SYS_WAIT_H
 | 
			
		||||
# include <sys/wait.h>		/* for WNOHANG on BSD */
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(__BEOS__) || defined(__HAIKU__)
 | 
			
		||||
# ifndef NOFILE
 | 
			
		||||
#  define NOFILE (OPEN_MAX)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue