add this to version.h right under "include " and you should be able to compile:
#include
Edit:
I wanted to add since some people are having issues compiling with newer openssl dependencies, libssl-dev-1.1.0 or openssl versions 1.1.x are not currently compatible. To build, install libssl-dev-1.0.1 or the correct corresponding package for your current linux distro. If your distro's package manager no longer has those packages available you will have to build openssl from source and link the libraries and headers manually when building.
It worked like a charm. Thanks!