Define _NETBSD_SOURCE that makes a few more serial speeds defined in termios.h.

This commit is contained in:
Romain Tartiere 2010-02-10 13:46:12 +00:00
parent 0d395733af
commit 386597af6e

View file

@ -34,6 +34,7 @@ AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([stdio.h stdlib.h stdint.h stddef.h stdbool.h])
AC_CHECK_FUNCS(strdup, [AC_DEFINE([_XOPEN_SOURCE], [600], [Enable POSIX extensions if present])])
AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features])
# Checks for types
AC_TYPE_SIZE_T