Move #include from h/mh.h to source files
[mmh] / sbr / error.c
index d8313ce..28f3255 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <h/mh.h>
 #include <errno.h>
+#include <stdarg.h>
 
 
 /*
@@ -35,7 +36,7 @@ adios(char *what, char *fmt, ...)
        va_start(ap, fmt);
        advertise(what, NULL, fmt, ap);
        va_end(ap);
-       done(1);
+       exit(1);
 }