Merge pull request #8 from omasanori/fix-include

Include string.h and stdlib.h at all time.
This commit is contained in:
Yuichi Nishiwaki 2014-01-04 23:22:40 -08:00
commit be22f63378
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include "picrin.h" #include "picrin.h"
#include "picrin/pair.h" #include "picrin/pair.h"
#if PIC_ENABLE_READLINE #if PIC_ENABLE_READLINE
# include <string.h>
# include <stdlib.h>
# include <readline/readline.h> # include <readline/readline.h>
# include <readline/history.h> # include <readline/history.h>
#endif #endif