diff options
author | skolb <none@none> | 2009-12-21 09:31:48 -0800 |
---|---|---|
committer | skolb <none@none> | 2009-12-21 09:31:48 -0800 |
commit | ec8738ac4501fd2158ca2ebeb146239f98dcd971 (patch) | |
tree | c63d3222fbb5f8036b012c60e8622cd085fbe60d /indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h | |
parent | b910de4ad7f91bb2022bfb8304c3dea32c0a4857 (diff) | |
parent | d894c7a0d8292ce2114e88f382dcf6187b0d2535 (diff) |
Merge viewer 2-0 into media
Diffstat (limited to 'indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h')
-rw-r--r-- | indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h b/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h index 2244ccc146..799808aa8b 100644 --- a/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h +++ b/indra/media_plugins/gstreamer010/llmediaimplgstreamertriviallogging.h @@ -37,10 +37,16 @@ #include <cstdio> +extern "C" { +#include <sys/types.h> +#include <unistd.h> +} + ///////////////////////////////////////////////////////////////////////// // Debug/Info/Warning macros. #define MSGMODULEFOO "(media plugin)" #define STDERRMSG(...) do{\ + fprintf(stderr, " pid:%d: ", (int)getpid());\ fprintf(stderr, MSGMODULEFOO " %s:%d: ", __FUNCTION__, __LINE__);\ fprintf(stderr, __VA_ARGS__);\ fputc('\n',stderr);\ |