Changeset dff2ded


Ignore:
Timestamp:
Apr 23, 2016, 8:49:50 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
d746ef8
Parents:
7d7bf8f
Message:

examples/utils.h: remove stdarg.h, getopt.h moved to parse_args.h, protect include with #ifdef HAVE_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.h

    r7d7bf8f rdff2ded  
    1919*/
    2020
    21 #include <stdio.h>
    22 #include <stdlib.h>
    23 #include <stdarg.h>
    24 #include <getopt.h>
    25 #include <unistd.h>
    26 #include <math.h>               /* for isfinite */
    27 #include <string.h>             /* for strcmp */
    2821#include <aubio.h>
     22
    2923#include "config.h"
     24
     25#ifdef HAVE_STDIO_H
     26#include <stdio.h>              // for fprintf
     27#endif
     28#ifdef HAVE_STDLIB_H
     29#include <stdlib.h>             // for exit
     30#endif
     31#ifdef HAVE_UNISTD_H
     32#include <unistd.h>             // for access
     33#endif
     34#ifdef HAVE_MATH_H
     35#include <math.h>               // for isfinite
     36#endif
     37#ifdef HAVE_STRING_H
     38#include <string.h>             // for strcmp
     39#endif
    3040
    3141#ifdef HAVE_C99_VARARGS_MACROS
Note: See TracChangeset for help on using the changeset viewer.