blob: 67e683d6232e32b198bec0f0d404b9b0bc62bc79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef H_MISCFN
#define H_MISCFN
#include "config.h"
#if HAVE_FNMATCH_H
#include <fnmatch.h>
#else
#include "misc-fnmatch.h"
#endif
#if HAVE_GLOB_H
#include <glob.h>
#else
#include "misc-glob.h"
#endif
#if ! HAVE_REALPATH
char *realpath(char *path, char resolved_path[]);
#endif
#if ! HAVE_S_IFSOCK
#define S_IFSOCK (0)
#endif
#if ! HAVE_S_ISLNK
#define S_ISLNK(mode) ((mode) & S_IFLNK)
#endif
#if ! HAVE_S_ISSOCK
#define S_ISSOCK(mode) ((mode) & S_IFSOCK)
#endif
#if NEED_STRINGS_H
#include <strings.h>
#endif
#if ! HAVE_REALPATH
char *realpath(const char *path, char resolved_path []);
#endif
#endif
|