]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include the right config.h.
authorGuy Harris <[email protected]>
Sat, 25 Apr 2020 23:48:36 +0000 (16:48 -0700)
committerGuy Harris <[email protected]>
Sat, 25 Apr 2020 23:48:36 +0000 (16:48 -0700)
Use angle brackets so that, for example, if we do a CMake build in a
subdirectory, and the parent directory has an autotools build in it, we
pick up the config.h from the CMake run, not from the autotools run.

print-arista.c
print-someip.c

index 26720d3a1fb1e8512bb26633c6d710493c5aa4a5..e4c761b3e0c6e9019d462f2ef29244203190c756 100644 (file)
@@ -3,7 +3,7 @@
 /* \summary: EtherType protocol for Arista Networks printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
index bd6a74f39cb441e3a630fcdcefc28cf71706df57..7d40602d413482bca2fbbeae5c3adaa4b06b6ae9 100644 (file)
@@ -16,7 +16,7 @@
 /* \summary: Autosar SOME/IP Protocol printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"