Add back "version.h" inclusion
authorPascal Quantin <pascal.quantin@gmail.com>
Fri, 2 Jan 2015 18:20:03 +0000 (19:20 +0100)
committerPascal Quantin <pascal.quantin@gmail.com>
Fri, 2 Jan 2015 18:24:55 +0000 (18:24 +0000)
It got removed by the automatic include cleaning scripts
Also add it to text2pcap.c as it is used to get the version when writing a pcapng file

Change-Id: I3d56985fa1d04bcb066fe015a588c24cf3cb7267
Reviewed-on: https://code.wireshark.org/review/6248
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
text2pcap.c
wsutil/ws_version_info.c

index 5da91378c84fb794c477da3534e010765805a089..326a1ca96d0406c34a1e21c4cc4cef13ae1382fd 100644 (file)
 
 #include "pcapio.h"
 #include "text2pcap.h"
+#include "version.h"
 
 #ifdef _WIN32
 #include <wsutil/unicode-utils.h>
index 1950ef3cd41cfabb64886fa81f91f4c420a6d95e..14b6cda4f96f12efe138358a8a1a1cde9282e8e0 100644 (file)
@@ -33,6 +33,8 @@
 
 #include <glib.h>
 
+#include "version.h"
+
 #include <wsutil/ws_version_info.h>
 
 #include <wsutil/ws_cpuid.h>