mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 12:10:46 +01:00
fix build problems on solaris
This commit is contained in:
parent
50fa8e15a9
commit
a6b6bf306d
@ -126,6 +126,7 @@ AC_FUNC_STAT
|
||||
AC_FUNC_STRERROR_R
|
||||
AC_FUNC_VPRINTF
|
||||
AC_CHECK_FUNCS([flock inotify_init recvmmsg basename alarm clock_gettime gethostbyname gethostname gettimeofday localtime_r memset mkdir regcomp select setsid socket strcasecmp strchr strdup strerror strndup strnlen strrchr strstr strtol strtoul uname ttyname_r getline malloc_trim prctl epoll_create epoll_create1 fdatasync syscall lseek64])
|
||||
AC_CHECK_TYPES([off64_t])
|
||||
|
||||
# getifaddrs is in libc (mostly) or in libsocket (eg Solaris 11) or not defined (eg Solaris 10)
|
||||
AC_SEARCH_LIBS([getifaddrs], [socket], [AC_DEFINE(HAVE_GETIFADDRS, [1], [set define])])
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* PRI filter) are very hard to beat in ease of use, at least for simpler
|
||||
* cases.
|
||||
*
|
||||
* Copyright 2011-2012 Rainer Gerhards and Adiscon GmbH.
|
||||
* Copyright 2011-2014 Rainer Gerhards and Adiscon GmbH.
|
||||
*
|
||||
* This file is part of the rsyslog runtime library.
|
||||
*
|
||||
@ -29,6 +29,7 @@
|
||||
* A copy of the LGPL can be found in the file "COPYING.LESSER" in this distribution.
|
||||
*/
|
||||
%{
|
||||
#include "config.h"
|
||||
#include <stdio.h>
|
||||
#include <libestr.h>
|
||||
#include "rainerscript.h"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
* cases. So while we hope that cfsysline support can be dropped some time in
|
||||
* the future, we will probably keep these useful constructs.
|
||||
*
|
||||
* Copyright 2011-2013 Rainer Gerhards and Adiscon GmbH.
|
||||
* Copyright 2011-2014 Rainer Gerhards and Adiscon GmbH.
|
||||
*
|
||||
* This file is part of the rsyslog runtime library.
|
||||
*
|
||||
@ -30,6 +30,10 @@
|
||||
* A copy of the LGPL can be found in the file "COPYING.LESSER" in this distribution.
|
||||
*/
|
||||
|
||||
%{
|
||||
#include "config.h"
|
||||
%}
|
||||
|
||||
%option noyywrap nodefault case-insensitive yylineno
|
||||
/*%option noyywrap nodefault case-insensitive */
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Begun 2010-11-25 RGerhards
|
||||
*
|
||||
* Copyright (C) 2005-2013 by Rainer Gerhards and Adiscon GmbH
|
||||
* Copyright (C) 2005-2014 by Rainer Gerhards and Adiscon GmbH
|
||||
*
|
||||
* This file is part of the rsyslog runtime library.
|
||||
*
|
||||
@ -158,7 +158,9 @@ typedef enum {
|
||||
} fiop_t;
|
||||
|
||||
#ifndef HAVE_LSEEK64
|
||||
typedef off_t off64_t;
|
||||
# ifndef HAVE_OFF64_T
|
||||
typedef off_t off64_t;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user