chiark / gitweb /
common.h: Add some more decls (useful for prefork-interp)
[chiark-utils.git] / cprogs / common.h
index 680683d71de6b83130d877c1e0ad2e394cd0ca2d..67eb4f6b0a5089244528408e61467a56cdcc719e 100644 (file)
@@ -28,6 +28,7 @@
 
 #define _GNU_SOURCE
 
+#include <assert.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -43,4 +44,6 @@ void *xmalloc(size_t sz);
 
 #define FILLZERO(object) (memset((&object),0,sizeof(object)))
 
+extern char **environ; // no header file for this, srsly!
+
 #endif /*COMMON_H*/