summaryrefslogtreecommitdiff
path: root/lib/rpmmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmmalloc.c')
-rw-r--r--lib/rpmmalloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rpmmalloc.c b/lib/rpmmalloc.c
index 94167b650..5e1b60211 100644
--- a/lib/rpmmalloc.c
+++ b/lib/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"));