mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
Be more careful when including <stdint.h> so compiling on pre-C99 platforms (hello Slowlaris) might actually work.
This commit is contained in:
parent
6d47e69ca8
commit
bf0715758c
@ -1,3 +1,9 @@
|
||||
2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/common.h src/test_conversions.c
|
||||
Be more careful when including <stdint.h> so compiling on pre-C99 platforms
|
||||
(hello Slowlaris) might actually work.
|
||||
|
||||
2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
||||
|
||||
* src/voc.c
|
||||
|
@ -25,12 +25,12 @@
|
||||
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#elif HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifndef SNDFILE_H
|
||||
#include "sndfile.h"
|
||||
#elif HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -20,7 +20,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
|
Loading…
Reference in New Issue
Block a user