Bladeren bron

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 jaren geleden
bovenliggende
commit
fde9caa727
2 gewijzigde bestanden met toevoegingen van 6 en 1 verwijderingen
  1. +0
    -1
      caca/caca.h
  2. +6
    -0
      caca/caca_conio.h

+ 0
- 1
caca/caca.h Bestand weergeven

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

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

#undef __extern


+ 6
- 0
caca/caca_conio.h Bestand weergeven

@@ -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__


Laden…
Annuleren
Opslaan