added ifndef blocks so that the library can be included by multiple interdependent files
Merge pull request #7 from julianh2o/master

Added ifndef blocks to prevent compiler errors