X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fcommon.h;h=0875b34e1337ca60f74b9a8b5b657ba6e689f80b;hb=15a32ab1123375e1a52c319fca71ab8d02c58261;hp=cc2ab3ff100546da0ad944e9e43a3c0fe92c3921;hpb=5a9a05166c4b22e7b7a522063d3dd6f75d1fa589;p=matches%2FMCTX3420.git diff --git a/server/common.h b/server/common.h index cc2ab3f..0875b34 100644 --- a/server/common.h +++ b/server/common.h @@ -10,7 +10,7 @@ #define _POSIX_C_SOURCE 200809L //#define _BSD_SOURCE #define _XOPEN_SOURCE 600 - +#define _GNU_SOURCE /** Determine if we're running on the BBB **/ #ifdef __arm__ #define _BBB @@ -21,6 +21,7 @@ /** The current API version **/ #define API_VERSION 0 +//#define REALTIME_VERSION @@ -34,6 +35,7 @@ #include #include #include +#include #include "log.h" #include "fastcgi.h" @@ -50,6 +52,7 @@ } extern bool PathExists(const char * path); +extern bool DirExists(const char * path);