]> git.marmaro.de Git - mmh/blobdiff - uip/mhbuildsbr.c
Fixed warnings from gcc -Wclobbered by adding volatile qualifiers.
[mmh] / uip / mhbuildsbr.c
index ea2bcd684da3808901760f7d6af5f7d918713058..87ebf161462657f8bb03f34e93563c54adbeb15b 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;