aboutsummaryrefslogtreecommitdiff
path: root/src/util_ct.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util_ct.h')
-rw-r--r--src/util_ct.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util_ct.h b/src/util_ct.h
index bc3492b..7fdf842 100644
--- a/src/util_ct.h
+++ b/src/util_ct.h
@@ -56,3 +56,6 @@
if ((l) != NULL) {\
*(l) = (r);\
}
+
+// include <errno.h> if you get compilation errors
+#define prne_is_nberr(expr) ((expr) == EAGAIN || (expr) == EWOULDBLOCK)