diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2016-12-06 23:10:58 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2016-12-06 23:10:58 +0100 |
commit | 5e79d651caee6b7a81097ae432b829e3da952261 (patch) | |
tree | ffaeb6d2a7b1618fb6fd78ab8541cc5284ba5373 /src/cal.c | |
parent | 676da477510cb1966a74273f89c8aa64654a1d49 (diff) | |
download | 0xFFFF-5e79d651caee6b7a81097ae432b829e3da952261.tar.bz2 |
all: Compile globally without _GNU_SOURCE, define _BSD_SOURCE or _GNU_SOURCE where needed
Diffstat (limited to 'src/cal.c')
-rw-r--r-- | src/cal.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -20,6 +20,12 @@ /* This is simple CAL parser form Calvaria */ +#ifdef __linux__ +#ifndef _BSD_SOURCE +#define _BSD_SOURCE +#endif +#endif + #include <stdio.h> #include <stdlib.h> #include <stdint.h> |