freebsd-ports/news/cnews/files/patch-stdfdopen.c
Dirk Meyer 922bee6599 - fix missing includes
- fix build with clang
Feature safe:	yes
2011-11-27 10:58:02 +00:00

10 lines
240 B
C

--- libc/stdfdopen.c.orig 1990-10-28 08:20:54.000000000 +0100
+++ libc/stdfdopen.c 2011-05-12 14:46:36.000000000 +0200
@@ -4,6 +4,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <errno.h>
#ifndef __STDC__
extern int errno;