summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-24 11:35:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-24 11:36:40 +0200
commita1e32519dcbf6339e5ea655227af7aa8fd402151 (patch)
tree092f9d33c591974ff5fc9b4095afc7e518524c97 /freebsd
parentFix redefinition warnings (diff)
downloadrtems-libbsd-a1e32519dcbf6339e5ea655227af7aa8fd402151.tar.bz2
libxo: Use program wrappers for exit(), etc.
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/contrib/libxo/libxo/libxo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/contrib/libxo/libxo/libxo.c b/freebsd/contrib/libxo/libxo/libxo.c
index 2a78aea1..0287360f 100644
--- a/freebsd/contrib/libxo/libxo/libxo.c
+++ b/freebsd/contrib/libxo/libxo/libxo.c
@@ -96,6 +96,9 @@
#ifdef HAVE_GETTEXT
#include <libintl.h>
#endif /* HAVE_GETTEXT */
+#ifdef __rtems__
+#include <machine/rtems-bsd-program.h>
+#endif /* __rtems__ */
/* Rather lame that we can't count on these... */
#ifndef FALSE