X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fcsv.c;h=d3f9966497bebabf722d309d3a705030570f48b0;hb=64bc73f5282ec0e7da6e00a8d078191e5375dc5c;hp=36cf2e86931b6cb7cd1552eb42716f4191dec6e3;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/output/csv.c b/src/output/csv.c index 36cf2e86..d3f99664 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -21,7 +21,6 @@ #include #include #include -#include "config.h" /* Needed for PACKAGE_STRING and others. */ #include #include "libsigrok-internal.h" @@ -118,8 +117,8 @@ static GString *gen_header(const struct sr_output *o) /* Some metadata */ t = time(NULL); - g_string_append_printf(header, "; CSV, generated by %s on %s", - PACKAGE_STRING, ctime(&t)); + g_string_append_printf(header, "; CSV, generated by %s %s on %s", + PACKAGE_NAME, SR_PACKAGE_VERSION_STRING, ctime(&t)); /* Columns / channels */ num_channels = g_slist_length(o->sdi->channels);