diff --git a/src/internal.h b/src/internal.h index 926e990c1b9c4ef48ae6db36af9e4bc01bdb4b4a..0dc34c755d63f44e76962bdaea6a62d09fea307e 100644 --- a/src/internal.h +++ b/src/internal.h @@ -539,4 +539,8 @@ enum { EXIT_ENOENT = 127, /* Could not find program to exec */ }; +# ifndef ENODATA +# define ENODATA EIO +# endif + #endif /* __VIR_INTERNAL_H__ */ diff --git a/src/util/viruuid.c b/src/util/viruuid.c index 615d419e034cd0444fc37a446e778249e1de9fc7..8dead44b8ffde368a85ea37d967e6c023ab256ae 100644 --- a/src/util/viruuid.c +++ b/src/util/viruuid.c @@ -46,10 +46,6 @@ VIR_LOG_INIT("util.uuid"); -#ifndef ENODATA -# define ENODATA EIO -#endif - static unsigned char host_uuid[VIR_UUID_BUFLEN]; static int