Browse Source

support for Hurd (is it even used?)

dvh-chacham15-master
Hoà Dinh 9 years ago
parent
commit
99516d50b0
2 changed files with 7 additions and 1 deletions
  1. +3
    -0
      libetpan-config.h.in
  2. +4
    -1
      tests/option-parser.c

+ 3
- 0
libetpan-config.h.in View File

@ -15,6 +15,9 @@
#ifdef HAVE_LIMITS_H
@include <limits.h>
#endif
@ifndef PATH_MAX
@define PATH_MAX 4096
@endif
#ifdef HAVE_SYS_PARAM_H
/* support for ARM platforms with a 2.95.3 arm-gcc suite */
@include <sys/param.h>


+ 4
- 1
tests/option-parser.c View File

@ -6,12 +6,15 @@
# include <getopt.h>
#endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
#include <libetpan/libetpan.h>


Loading…
Cancel
Save