Ignore:
Timestamp:
Mar 2, 2016, 3:08:27 PM (8 years ago)
Author:
meunier
Message:
  • Bug fixes in Rosenfeld
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/src/bmpNR.c

    r772 r798  
    1010#include <stdlib.h>
    1111#include <math.h>
    12 
    1312
    1413/* -- image -- */
     
    2019#include "nralloc.h"
    2120#endif
     21
     22#if TARGET_OS == LINUX
     23    #include <sys/types.h>
     24    #include <sys/stat.h>
     25    #include <fcntl.h>
     26    #include <unistd.h>
     27#endif
     28
    2229
    2330#include "palette.h"
     
    242249    //DEBUG(printf("BMP  : %d %d\n", sizeof( BitmapFileHeader), sizeof( BitmapInfoHeader)));
    243250    if (sizeof(BitmapFileHeader) != 14) {
    244         printf("*** Error SaveMBP: sizeof(BitmapFileHeader) = %d should be 14...\n", sizeof(BitmapFileHeader));
     251        printf("*** Error SaveMBP: sizeof(BitmapFileHeader) = %d should be 14...\n", (int) sizeof(BitmapFileHeader));
    245252    }
    246253
Note: See TracChangeset for help on using the changeset viewer.