mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	no crypt.h on FreeBSD 12
* string.c (crypt.h): crypt_r() was added in FreeBSD 12.0 but is declared in unistd.h. [ruby-core:78664] [Bug #13038] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									6b1e24eaa5
								
							
						
					
					
						commit
						5d6292809f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								string.c
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								string.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -30,7 +30,9 @@
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined HAVE_CRYPT_R
 | 
			
		||||
# if defined HAVE_CRYPT_H
 | 
			
		||||
# include <crypt.h>
 | 
			
		||||
# endif
 | 
			
		||||
#elif !defined HAVE_CRYPT
 | 
			
		||||
# include "missing/crypt.h"
 | 
			
		||||
# define HAVE_CRYPT_R 1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue