From 7fe109a9989cacc8a09089edba01a866247300e0 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Sun, 9 Feb 2014 14:52:53 +0900 Subject: [PATCH] include xfile in picirn.h --- include/picrin.h | 1 + include/picrin/port.h | 3 --- src/file.c | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/include/picrin.h b/include/picrin.h index 48de7c19..0120d3cd 100644 --- a/include/picrin.h +++ b/include/picrin.h @@ -34,6 +34,7 @@ extern "C" { #include #include "xhash/xhash.h" +#include "xfile/xfile.h" #if __STDC_VERSION__ >= 201112L # define NORETURN _Noreturn diff --git a/include/picrin/port.h b/include/picrin/port.h index 8846c98d..fab0a041 100644 --- a/include/picrin/port.h +++ b/include/picrin/port.h @@ -9,9 +9,6 @@ extern "C" { #endif -#include -#include "xfile/xfile.h" - enum pic_port_flag { PIC_PORT_IN = 1, PIC_PORT_OUT = 2, diff --git a/src/file.c b/src/file.c index 43a55e49..bb46b9f0 100644 --- a/src/file.c +++ b/src/file.c @@ -6,7 +6,6 @@ #include "picrin.h" #include "picrin/port.h" -#include "xfile/xfile.h" static pic_value generic_open_file(pic_state *pic, const char *fname, char *mode, short flags)