]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/snprintf.c
Include <config.h> unconditionally
[tcpdump] / missing / snprintf.c
index 2f12cf1635e9b066bbe3eb621c9c2f9f7181573b..52eb9a61ca6678d89b239ddd0b26cf0a4fd6e3e2 100644 (file)
@@ -31,9 +31,7 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdio.h>
 #include <stdarg.h>
@@ -411,7 +409,7 @@ xyzprintf (struct state *state, const char *char_format, va_list ap)
        break;
       }
       case 'n' : {
-       int *arg = va_arg(ap, int*);
+       int *arg = va_arg(ap, int *);
        *arg = state->s - state->str;
        break;
       }