Ignore:
Timestamp:
Mar 9, 2006, 1:47:37 PM (15 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/bitmap.c

    r540 r568  
    2020#include "config.h"
    2121
    22 #if defined(HAVE_ENDIAN_H)
    23 #   include <endian.h>
     22#if !defined(__KERNEL__)
     23#   if defined(HAVE_ENDIAN_H)
     24#       include <endian.h>
     25#   endif
     26#   include <stdio.h>
     27#   include <stdlib.h>
     28#   include <limits.h>
     29#   include <string.h>
    2430#endif
    25 
    26 #include <stdio.h>
    27 #include <stdlib.h>
    28 #include <limits.h>
    29 #include <string.h>
    3031
    3132#include "cucul.h"
Note: See TracChangeset for help on using the changeset viewer.