summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-11-03 06:54:02 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-11-03 05:58:24 +0000
commitfaa3108611e2b31e614d10531548803e2362a4f0 (patch)
treee0794ebfb06dddafc74b3bb3298cdd99743ace27 /compat
parentf9eb55e5f2cc20c390d29ca604165ddd71460d3c (diff)
opentrack: pull in EXIT_{SUCCESS, FAILURE}
Diffstat (limited to 'compat')
-rw-r--r--compat/sysexits.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/compat/sysexits.hpp b/compat/sysexits.hpp
new file mode 100644
index 00000000..33f19b9d
--- /dev/null
+++ b/compat/sysexits.hpp
@@ -0,0 +1,14 @@
+#pragma once
+
+#include <cstdlib> // for EXIT_SUCCESS, EXIT_FAILRUE
+
+/* FreeBSD sysexits(3)
+ *
+ * The input data was incorrect in some way. This
+ * should only be used for user's data and not system
+ * files.
+ */
+
+#if !defined EX_OSFILE
+# define EX_OSFILE 72
+#endif