Skip to content

Commit

Permalink
embed dirent.h in project
Browse files Browse the repository at this point in the history
  • Loading branch information
aesophor committed Aug 21, 2019
1 parent d8d0c14 commit 55cfc38
Show file tree
Hide file tree
Showing 2 changed files with 1,165 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/logging.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#ifdef HAVE_SYS_UTSNAME_H
# include <sys/utsname.h> // For uname.
#endif
#include <dirent.h>
#include <time.h>
#include <fcntl.h>
#include <cstdio>
Expand All @@ -60,6 +59,11 @@
#include <vector>
#include <errno.h> // for errno
#include <sstream>
#ifdef OS_WINDOWS
#include "windows/dirent.h"
#else
#include <dirent.h> // for automatic removal of old logs
#endif
#include "base/commandlineflags.h" // to get the program name
#include "glog/logging.h"
#include "glog/raw_logging.h"
Expand Down
Loading

0 comments on commit 55cfc38

Please sign in to comment.