소스 검색

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__


불러오는 중...
취소
저장