Changeset 1de74b8731b3bfbd0c76eb67a7e4348a1fa3087c

Show
Ignore:
Timestamp:
06/02/02 12:28:48 (6 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1023013728 +0000
git-parent:

[211d6badd6e8fccfe412dc68ad8135423efbbe51]

git-author:
Gildas Bazin <gbazin@videolan.org> 1023013728 +0000
Message:

* ./plugins/a52/a52.c: compilation fix. Following C99 we have to include
<stdint.h> but Solaris doesn't have it so we include <inttypes.h> when
it isn't found.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/a52/a52.c

    r71ec135 r1de74b8  
    55 ***************************************************************************** 
    66 * Copyright (C) 2001 VideoLAN 
    7  * $Id: a52.c,v 1.18 2002/06/01 18:04:48 sam Exp $ 
     7 * $Id: a52.c,v 1.19 2002/06/02 10:28:48 gbazin Exp $ 
    88 * 
    99 * Authors: Gildas Bazin <gbazin@netcourrier.com> 
     
    3333#include <stdlib.h>                                      /* malloc(), free() */ 
    3434#include <string.h>                                              /* strdup() */ 
    35 #ifdef HAVE_INTTYPES_H 
     35#ifdef HAVE_STDINT_H 
     36#   include <stdint.h>                                         /* int16_t .. */ 
     37#elif HAVE_INTTYPES_H 
    3638#   include <inttypes.h>                                       /* int16_t .. */ 
    3739#endif