Use ENOMSG as fallback for ENODATA on freebsd
[lttng-ust.git] / liblttng-ust / compat.h
index 37480671052edcb872c58345958b7c543c2ddea4..004e60ace8d86771652405c2076f555969bd12d8 100644 (file)
@@ -55,4 +55,10 @@ void lttng_ust_getprocname(char *name)
 
 #endif
 
+#include <errno.h>
+
+#ifndef ENODATA
+#define ENODATA        ENOMSG
+#endif
+
 #endif /* _UST_COMPAT_H */
This page took 0.023553 seconds and 4 git commands to generate.