citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit cdb9a946848fd9aa177c37b809f1b94204ceae27
parent 387437c1fd3d5ef93dcd22a5f961cd0476521cfd
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Tue, 29 Mar 2016 18:21:43 -0600

instrument: add setprogname compat hack

Diffstat:
Minstrument/main.cc | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/instrument/main.cc b/instrument/main.cc @@ -2,6 +2,9 @@ #include <libgen.h> #include <string.h> #include <unistd.h> +#ifdef __gnu_linux__ + #include <bsd/stdlib.h> // setprogname +#endif #include <fstream> #include <iostream>