blog

The tiny blog platform powering https://blog.kore.io
Commits | Files | Refs | README | git clone https://git.kore.io/kore-blog.git

commit e6f332943648d46e5d01ea93c7209c613b754394
parent 4b3f3e606c35f7c36469a2edef4cfbdaaf35fb76
Author: Joris Vink <joris@coders.se>
Date:   Wed, 18 Apr 2018 19:57:56 +0000

Define _GNU_SOURCE for linux platforms.

Diffstat:
src/blog.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/blog.c b/src/blog.c @@ -14,6 +14,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#if defined(__linux__) +#define _GNU_SOURCE +#endif + #include <sys/types.h> #include <sys/queue.h> #include <sys/stat.h>