diff -u -r vdr2jpeg-0.1.0/gop.cpp vdr2jpeg-0.1.0.new/gop.cpp --- vdr2jpeg-0.1.0/gop.cpp 2008-02-17 07:14:46.000000000 +0100 +++ vdr2jpeg-0.1.0.new/gop.cpp 2008-06-08 09:26:12.000000000 +0200 @@ -30,6 +30,7 @@ #include <errno.h> #include <time.h> #include <iostream> +#include <cstring> #include <fstream> #include <sstream> #include <vector> diff -u -r vdr2jpeg-0.1.0/tools.cpp vdr2jpeg-0.1.0.new/tools.cpp --- vdr2jpeg-0.1.0/tools.cpp 2008-02-17 07:15:22.000000000 +0100 +++ vdr2jpeg-0.1.0.new/tools.cpp 2008-06-08 09:26:15.000000000 +0200 @@ -20,6 +20,8 @@ */ #include "tools.h" +#include <iostream> +#include <cstring> int option(int argc, char *argv[], const char opt, bool bParam, std::string & param, int n) diff -u -r vdr2jpeg-0.1.0/vdr2jpeg.cpp vdr2jpeg-0.1.0.new/vdr2jpeg.cpp --- vdr2jpeg-0.1.0/vdr2jpeg.cpp 2008-02-17 07:15:48.000000000 +0100 +++ vdr2jpeg-0.1.0.new/vdr2jpeg.cpp 2008-06-08 09:27:25.000000000 +0200 @@ -26,6 +26,8 @@ #include <fstream> #include <sstream> #include <vector> +#include <algorithm> +#include <stdlib.h> #include "tools.h" #include "ffm.h" #include "gop.h"