Fixed warnings from gcc -Wclobbered by adding volatile qualifiers.
[mmh] / uip / mhbuildsbr.c
index ea2bcd6..87ebf16 100644 (file)
 #include <h/mhparse.h>
 #include <h/utils.h>
 
-#ifdef TIME_WITH_SYS_TIME
+#ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
-# include <time.h>
-#else
-# ifdef TM_IN_SYS_TIME
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
 #endif
+#include <time.h>
 
 
 extern int debugsw;
@@ -994,7 +988,8 @@ compose_content (CT ct)
     default:
        if (!ce->ce_file) {
            pid_t child_id;
-           int i, xstdout, len, buflen;
+           int i, len, buflen;
+           volatile int xstdout;
            char *bp, **ap, *cp;
            char *vec[4], buffer[BUFSIZ];
            FILE *out;