summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/make/hash.c')
-rw-r--r--usr.bin/make/hash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/hash.c b/usr.bin/make/hash.c
index 684f3a6..c063f45 100644
--- a/usr.bin/make/hash.c
+++ b/usr.bin/make/hash.c
@@ -50,6 +50,7 @@ __RCSID("$FreeBSD$");
* table. Hash tables grow automatically as the amount of
* information increases.
*/
+#include <unistd.h>
#include "sprite.h"
#include "make.h"
#include "hash.h"
@@ -293,7 +294,7 @@ Hash_DeleteEntry(t, e)
return;
}
}
- (void) write(2, "bad call to Hash_DeleteEntry\n", 29);
+ (void) write(STDERR_FILENO, "bad call to Hash_DeleteEntry\n", 29);
abort();
}
OpenPOWER on IntegriCloud