Skip to content

Commit

Permalink
core: remove HAVE_GLOB_H
Browse files Browse the repository at this point in the history
Required in POSIX-1.2001, so no check required.
  • Loading branch information
arogge committed May 25, 2020
1 parent 06b804a commit 1207a74
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion core/cmake/BareosCheckIncludes.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ check_include_files(curses.h HAVE_CURSES_H)
check_include_files(unistd.h HAVE_UNISTD_H)
check_include_files(stdarg.h HAVE_STDARG_H)
check_include_files(stdlib.h HAVE_STDLIB_H)
check_include_files(glob.h HAVE_GLOB_H)
check_include_files(poll.h HAVE_POLL_H)
check_include_files(sys/poll.h HAVE_SYS_POLL_H)
check_include_files(sys/statvfs.h HAVE_SYS_STATVFS_H)
Expand Down
3 changes: 0 additions & 3 deletions core/src/include/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,6 @@ extern char WIN_VERSION[];
// Define to 1 if you have the `glob' function
#cmakedefine HAVE_GLOB @HAVE_GLOB@

// Define to 1 if you have the <glob.h> header file
#cmakedefine HAVE_GLOB_H @HAVE_GLOB_H@

// Define to 1 if you have the <grp.h> header file
#cmakedefine HAVE_GRP_H @HAVE_GRP_H@

Expand Down
3 changes: 0 additions & 3 deletions core/src/lib/lex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
#include "lib/edit.h"
#include "lib/parse_conf.h"
#include "lib/berrno.h"

#ifdef HAVE_GLOB_H
#include <glob.h>
#endif

extern int debug_level;

Expand Down
3 changes: 0 additions & 3 deletions core/src/win32/compat/include/mingwconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,4 @@
/* Define to 1 if you have the `glob' function. */
#define HAVE_GLOB 1

/* Define to 1 if you have the <glob.h> header file. */
#define HAVE_GLOB_H 1

#endif /* __MINGWNCONFIG_H */

0 comments on commit 1207a74

Please sign in to comment.