Ignore:
Timestamp:
Mar 9, 2006, 1:47:37 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added glue code to compile libcaca without a libc and build applications as multiboot kernels.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cucul/char.c

    r540 r568  
    2020#include "config.h"
    2121
    22 #include <stdio.h> /* BUFSIZ */
    23 #include <string.h>
    24 #include <stdlib.h>
    25 #if defined(HAVE_UNISTD_H)
    26 #   include <unistd.h>
    27 #endif
    28 #include <stdarg.h>
    29 
    30 #if defined(HAVE_SIGNAL_H)
    31 #   include <signal.h>
    32 #endif
    33 #if defined(HAVE_SYS_IOCTL_H)
    34 #   include <sys/ioctl.h>
     22#if !defined(__KERNEL__)
     23#   include <stdio.h> /* BUFSIZ */
     24#   include <string.h>
     25#   include <stdlib.h>
     26#   include <stdarg.h>
     27#   if defined(HAVE_UNISTD_H)
     28#       include <unistd.h>
     29#   endif
     30#   if defined(HAVE_SIGNAL_H)
     31#       include <signal.h>
     32#   endif
     33#   if defined(HAVE_SYS_IOCTL_H)
     34#       include <sys/ioctl.h>
     35#   endif
    3536#endif
    3637
Note: See TracChangeset for help on using the changeset viewer.