summaryrefslogtreecommitdiff
path: root/rpmio/rpmmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmio/rpmmalloc.c')
-rw-r--r--rpmio/rpmmalloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmio/rpmmalloc.c b/rpmio/rpmmalloc.c
index 94167b650..5e1b60211 100644
--- a/rpmio/rpmmalloc.c
+++ b/rpmio/rpmmalloc.c
@@ -1,5 +1,9 @@
#include "system.h"
+#if !defined(EXIT_FAILURE)
+#define EXIT_FAILURE 1
+#endif
+
void *vmefail(void)
{
fprintf(stderr, _("memory alloc returned NULL.\n"));