Index: libc/include/err.h
===================================================================
--- libc/include/err.h	(revision 0c6984e40dcbca4c518ecebb32148c2b3d2f0cdd)
+++ libc/include/err.h	(revision d6cc45306126319261e570e4aeb0e313f284638f)
@@ -30,6 +30,5 @@
 #define _libc__ERR_H_
 
-extern void errx (int __status, __const char *__format, ...)
-        __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
+#define errx(status,fmt,...) { printf((fmt),##__VA_ARGS__);_exit(status);}
 
 #endif
Index: libc/include/io/stream.h
===================================================================
--- libc/include/io/stream.h	(revision 0c6984e40dcbca4c518ecebb32148c2b3d2f0cdd)
+++ libc/include/io/stream.h	(revision d6cc45306126319261e570e4aeb0e313f284638f)
@@ -27,4 +27,7 @@
  */
 
+#ifndef __libc_STREAM_H_
+#define __libc_STREAM_H_
+
 #include <libarch/types.h>
 
@@ -39,2 +42,4 @@
 fd_t open(const char *fname, int flags);
 int get_fd_phone(int fd);
+
+#endif
