fix xcode9 compilation issue

This commit is contained in:
Jehan Monnier 2017-09-26 13:28:21 +02:00
parent 216d252c4d
commit d158267277

View file

@ -16,8 +16,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __APPLE__
#define _XOPEN_SOURCE 700 /*required for strptime of GNU libc*/
#endif
#include <time.h>
#include "private.h"