summaryrefslogtreecommitdiffstats
path: root/runtime/typedefs.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-06-24 12:05:58 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2013-06-24 12:05:58 +0200
commitb8aaacd9ccf5efb353ecf15fe83a976ad44cf6cf (patch)
tree584dc26ffe2067225c521389bfe399962e985795 /runtime/typedefs.h
parent5141493d3238e29655fbb4b250a612d435db000e (diff)
downloadrsyslog-b8aaacd9ccf5efb353ecf15fe83a976ad44cf6cf.tar.gz
rsyslog-b8aaacd9ccf5efb353ecf15fe83a976ad44cf6cf.tar.bz2
rsyslog-b8aaacd9ccf5efb353ecf15fe83a976ad44cf6cf.zip
solve build problem on FreeBSD
Thanks to Christiano for reporting this problem.
Diffstat (limited to 'runtime/typedefs.h')
-rw-r--r--runtime/typedefs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/typedefs.h b/runtime/typedefs.h
index 5cc24e4a..ca63d0d5 100644
--- a/runtime/typedefs.h
+++ b/runtime/typedefs.h
@@ -3,7 +3,7 @@
*
* Begun 2010-11-25 RGerhards
*
- * Copyright (C) 2005-2008 by Rainer Gerhards and Adiscon GmbH
+ * Copyright (C) 2005-2013 by Rainer Gerhards and Adiscon GmbH
*
* This file is part of the rsyslog runtime library.
*
@@ -148,6 +148,10 @@ typedef enum {
FIOP_ISEMPTY = 6 /* string empty <=> strlen(s) == 0 ?*/
} fiop_t;
+#if defined(__FreeBSD__)
+ typedef off_t off64_t;
+#endif
+
/* types of configuration handlers
*/
typedef enum cslCmdHdlrType {