Changeset 3608


Ignore:
Timestamp:
Aug 2, 2009, 1:41:43 PM (10 years ago)
Author:
Sam Hocevar
Message:

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

Location:
libcaca/trunk/caca
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r3606 r3608  
    2929#if !defined(__KERNEL__)
    3030#   include <stdarg.h>
    31 #   include <stdio.h>
    3231#endif
    3332
  • libcaca/trunk/caca/caca_conio.h

    r3603 r3608  
    1919#ifndef __CACA_CONIO_H__
    2020#define __CACA_CONIO_H__
     21
     22/* Since we're going to redefine standard functions, include these
     23 * headers first to avoid errors upon later inclusion. */
     24#if !defined(__KERNEL__)
     25#   include <stdio.h>
     26#endif
    2127
    2228#include <caca.h>
Note: See TracChangeset for help on using the changeset viewer.