[rtems-libbsd commit] libxo: Use program wrappers for exit(), etc.

Sebastian Huber sebh at rtems.org
Wed Oct 24 09:36:55 UTC 2018


Module:    rtems-libbsd
Branch:    master
Commit:    a1e32519dcbf6339e5ea655227af7aa8fd402151
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=a1e32519dcbf6339e5ea655227af7aa8fd402151

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Oct 24 11:35:31 2018 +0200

libxo: Use program wrappers for exit(), etc.

---

 freebsd/contrib/libxo/libxo/libxo.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/freebsd/contrib/libxo/libxo/libxo.c b/freebsd/contrib/libxo/libxo/libxo.c
index 2a78aea..0287360 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




More information about the vc mailing list