aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libctf/ctf-subr.c')
-rw-r--r--libctf/ctf-subr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libctf/ctf-subr.c b/libctf/ctf-subr.c
index 455f18d..1586570 100644
--- a/libctf/ctf-subr.c
+++ b/libctf/ctf-subr.c
@@ -26,6 +26,10 @@
#include <string.h>
#include <unistd.h>
+#ifndef ENOTSUP
+#define ENOTSUP ENOSYS
+#endif
+
int _libctf_version = CTF_VERSION; /* Library client version. */
int _libctf_debug = 0; /* Debugging messages enabled. */