--- termcap-1.3.1.orig/tparam.c | |
+++ termcap-1.3.1/tparam.c | |
@@ -26,6 +26,7 @@ | |
#else | |
#ifdef STDC_HEADERS | |
+#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#else | |
@@ -48,7 +49,7 @@ | |
static void | |
memory_out () | |
{ | |
- write (2, "virtual memory exhausted\n", 25); | |
+ fprintf (stderr, "virtual memory exhausted\n"); | |
exit (1); | |
} | |