浏览代码

Include <stdio.h> in caca_conio.h to avoid errors when this header is

included after us.
tags/v0.99.beta17
Sam Hocevar sam 15 年前
父节点
当前提交
fde9caa727
共有 2 个文件被更改,包括 6 次插入1 次删除
  1. +0
    -1
      caca/caca.h
  2. +6
    -0
      caca/caca_conio.h

+ 0
- 1
caca/caca.h 查看文件

@@ -28,7 +28,6 @@

#if !defined(__KERNEL__)
# include <stdarg.h>
# include <stdio.h>
#endif

#undef __extern


+ 6
- 0
caca/caca_conio.h 查看文件

@@ -19,6 +19,12 @@
#ifndef __CACA_CONIO_H__
#define __CACA_CONIO_H__

/* Since we're going to redefine standard functions, include these
* headers first to avoid errors upon later inclusion. */
#if !defined(__KERNEL__)
# include <stdio.h>
#endif

#include <caca.h>

#if !defined _DOXYGEN_SKIP_ME && !defined __LIBCACA__


正在加载...
取消
保存