1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

fix build issue on Solaris 10.

This commit is contained in:
Alexandre Snarskii
2016-05-11 15:21:30 +03:00
parent 1928419625
commit 066d35e74f
6 changed files with 10 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
untagged yet (2016-05-10)
- fix: was not able to build on Solaris. Thanks to Mansoor Ali Khan.
- feature: IOS XR mode now supports as-paths (ios-regexs). Thanks
to Tassos Chatzithomaoglou for examples and proofreading.
(additions from 2015-09-23)

View File

@@ -30,6 +30,9 @@
/* Define to 1 if you have the `strlcpy' function. */
#undef HAVE_STRLCPY
/* Define to 1 if you have the <sys/cdefs.h> header file. */
#undef HAVE_SYS_CDEFS_H
/* Define to 1 if you have the <sys/queue.h> header file. */
#undef HAVE_SYS_QUEUE_H

2
configure vendored
View File

@@ -3398,7 +3398,7 @@ fi
done
for ac_header in sys/queue.h sys/tree.h
for ac_header in sys/cdefs.h sys/queue.h sys/tree.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"

View File

@@ -3,7 +3,7 @@ AC_CONFIG_HEADER(config.h)
AC_PROG_CC
AC_PROG_INSTALL
AC_CHECK_HEADERS([sys/queue.h sys/tree.h])
AC_CHECK_HEADERS([sys/cdefs.h sys/queue.h sys/tree.h])
AC_MSG_CHECKING([for STAILQ_ interface in queue.h])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([

View File

@@ -33,7 +33,9 @@
#ifndef _SYS_QUEUE_H_
#define _SYS_QUEUE_H_
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
/*
* This file defines four types of data structures: singly-linked lists,

View File

@@ -30,7 +30,9 @@
#ifndef _SYS_TREE_H_
#define _SYS_TREE_H_
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
/*
* This file defines data structures for different types of trees: