The first small fix here simply changes debug.h to include and in the event the debugging is turned on, as it uses functions from those headers.
The second change moves the definition of the LIBREDDIT_VERSION macro out of libreddit/global.h and into the libreddit/libreddit.mk file. At the moment the version number itself is somewhat meaning less, but it'll be helpful in the future to be able to easily change the version number.
The first small fix here simply changes debug.h to include and in the event the debugging is turned on, as it uses functions from those headers.
The second change moves the definition of the LIBREDDIT_VERSION macro out of libreddit/global.h and into the libreddit/libreddit.mk file. At the moment the version number itself is somewhat meaning less, but it'll be helpful in the future to be able to easily change the version number.