commit 40bd4364d92bf29e56f56d95df27e98b5ecf9e57
parent 11289268ce84842c65195aca58f0298f1affc564
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 28 Nov 2018 14:47:17 +0100
Enable support of nanosleep
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/htrdr_draw_radiance_sw.c b/src/htrdr_draw_radiance_sw.c
@@ -13,6 +13,8 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#define _POSIX_C_SOURCE 199309L /* nanosleep */
+
#include "htrdr.h"
#include "htrdr_c.h"
#include "htrdr_buffer.h"