]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ENOTRECOVERABLE & EOWNERDEAD may not be defined on FreeBSD 1583/head
authorBoris Lytochkin <lytboris@yandex-team.ru>
Sun, 3 Apr 2016 07:10:45 +0000 (10:10 +0300)
committerBoris Lytochkin <lytboris@yandex-team.ru>
Tue, 19 Apr 2016 14:24:16 +0000 (17:24 +0300)
src/lib/log.c

index 9cd26ae9a9cbb3a5765e98f5b03acdbf43cfc4d1..e9c86174753e670a91ea64c4c068321613416715 100644 (file)
@@ -112,7 +112,9 @@ char const *fr_errno_macro_names[] = {
        [ENOTCONN] = "ENOTCONN",
        [ENOTDIR] = "ENOTDIR",
        [ENOTEMPTY] = "ENOTEMPTY",
+#ifdef ENOTRECOVERABLE
        [ENOTRECOVERABLE] = "ENOTRECOVERABLE",
+#endif
        [ENOTSOCK] = "ENOTSOCK",
        [ENOTSUP] = "ENOTSUP",
 #if ENOTSUP != EOPNOTSUPP
@@ -121,7 +123,9 @@ char const *fr_errno_macro_names[] = {
        [ENOTTY] = "ENOTTY",
        [ENXIO] = "ENXIO",
        [EOVERFLOW] = "EOVERFLOW",
+#ifdef EOWNERDEAD
        [EOWNERDEAD] = "EOWNERDEAD",
+#endif
        [EPERM] = "EPERM",
        [EPIPE] = "EPIPE",
        [EPROTO] = "EPROTO",