aboutsummaryrefslogtreecommitdiffstats
path: root/consts.c
diff options
context:
space:
mode:
Diffstat (limited to 'consts.c')
-rw-r--r--consts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/consts.c b/consts.c
index 4e68230..8f6e4d9 100644
--- a/consts.c
+++ b/consts.c
@@ -9,6 +9,7 @@ get_errno_name(int err)
#define X(N) if (err == N) return #N;
LIST_ERRNOS(X)
+
#ifdef ALSO_ERESTARTSYS
X(ERESTARTSYS)
#endif
@@ -21,6 +22,7 @@ get_errno_name(int err)
#ifdef ALSO_ERESTART_RESTARTBLOCK
X(ERESTART_RESTARTBLOCK)
#endif
+
#undef X
sprintf(buf, "%i", err);