Include values.h to use LONG_MAX and LONG_MIN
This commit is contained in:
		
							parent
							
								
									c8cf89a954
								
							
						
					
					
						commit
						7dcb5f9061
					
				@ -198,7 +198,8 @@ AC_CHECK_HEADERS([sys/ioctl.h sys/mman.h sys/resource.h \
 | 
				
			|||||||
		  sys/un.h arpa/inet.h netinet/in.h \
 | 
							  sys/un.h arpa/inet.h netinet/in.h \
 | 
				
			||||||
		  assert.h ctype.h errno.h fcntl.h grp.h io.h libintl.h \
 | 
							  assert.h ctype.h errno.h fcntl.h grp.h io.h libintl.h \
 | 
				
			||||||
		  netdb.h pwd.h regex.h signal.h stdarg.h stddef.h stdio.h \
 | 
							  netdb.h pwd.h regex.h signal.h stdarg.h stddef.h stdio.h \
 | 
				
			||||||
		  sysexits.h syslog.h time.h wchar.h wctype.h])
 | 
							  sysexits.h syslog.h time.h wchar.h wctype.h \
 | 
				
			||||||
 | 
							  values.h])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dnl OpenBSD machines don't like having malloc included (even if it's present)
 | 
					dnl OpenBSD machines don't like having malloc included (even if it's present)
 | 
				
			||||||
dnl as they expect you to use stdlib.h
 | 
					dnl as they expect you to use stdlib.h
 | 
				
			||||||
 | 
				
			|||||||
@ -35,6 +35,9 @@
 | 
				
			|||||||
#ifdef HAVE_SYS_TYPES_H
 | 
					#ifdef HAVE_SYS_TYPES_H
 | 
				
			||||||
#  include      <sys/types.h>
 | 
					#  include      <sys/types.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					#ifdef HAVE_VALUES_H
 | 
				
			||||||
 | 
					#  include      <values.h>
 | 
				
			||||||
 | 
					#endif
 | 
				
			||||||
#ifdef HAVE_INTTYPES_H
 | 
					#ifdef HAVE_INTTYPES_H
 | 
				
			||||||
#  include	<inttypes.h>
 | 
					#  include	<inttypes.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user