Move _POSIX_SOURCE to hb.hh

This commit is contained in:
Behdad Esfahbod 2018-09-30 18:23:34 +02:00
parent 90dd255e57
commit 3f08750fa6
2 changed files with 4 additions and 5 deletions

View File

@ -25,11 +25,6 @@
* Red Hat Author(s): Behdad Esfahbod
*/
/* http://www.oracle.com/technetwork/articles/servers-storage-dev/standardheaderfiles-453865.html */
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#endif
#include "hb.hh"
#include "hb-blob.hh"

View File

@ -35,6 +35,10 @@
#include "config.h"
#endif
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#endif
#include "hb.h"
#define HB_H_IN
#ifdef HAVE_OT