Skip to content

Commit

Permalink
support for Hurd (is it even used?)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoà Dinh committed Dec 3, 2012
1 parent 77963aa commit 99516d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions libetpan-config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
5 changes: 4 additions & 1 deletion tests/option-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 99516d5

Please sign in to comment.