mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[headers] check stdalign.h
This commit is contained in:
parent
9254649aaf
commit
bdc6e05410
@ -226,6 +226,7 @@ AC_CHECK_HEADERS(stdint.h inttypes.h)
|
||||
AC_CHECK_HEADERS(locale.h pwd.h)
|
||||
AC_CHECK_HEADERS(termios.h)
|
||||
AC_CHECK_HEADERS(poll.h)
|
||||
AC_CHECK_HEADERS(stdalign.h)
|
||||
|
||||
AC_CHECK_HEADERS(sys/un.h,
|
||||
[CONFIG_INTERLINK=yes
|
||||
|
@ -208,6 +208,8 @@ conf_data.set10('HAVE_STDLIB_H', compiler.has_header('stdlib.h'))
|
||||
conf_data.set10('HAVE_STRING_H', compiler.has_header('string.h'))
|
||||
conf_data.set10('HAVE_ALLOCA_H', compiler.has_header('alloca.h'))
|
||||
|
||||
conf_data.set('HAVE_STDALIGN_H', compiler.has_header('stdalign.h'))
|
||||
|
||||
deps = []
|
||||
if conf_data.get('CONFIG_GZIP')
|
||||
zdeps = dependency('zlib')
|
||||
|
@ -3,7 +3,9 @@
|
||||
#ifndef EL__OSDEP_GENERIC_H
|
||||
#define EL__OSDEP_GENERIC_H
|
||||
|
||||
#ifdef HAVE_STDALIGN_H
|
||||
#include <stdalign.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h> /* may contain PIPE_BUF definition on some systems */
|
||||
|
Loading…
x
Reference in New Issue
Block a user