OSDN Git Service
(root)
/
mhash384
/
mhash384.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b61c681
)
Linux build fixes.
author
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 21 Jan 2018 18:14:27 +0000
(19:14 +0100)
committer
LoRd_MuldeR
<mulder2@gmx.de>
Sun, 21 Jan 2018 18:14:27 +0000
(19:14 +0100)
src/utilities.h
patch
|
blob
|
history
diff --git
a/src/utilities.h
b/src/utilities.h
index
9df8154
..
65e0d3b
100644
(file)
--- a/
src/utilities.h
+++ b/
src/utilities.h
@@
-34,11
+34,12
@@
#include <sys/stat.h>
#include <signal.h>
#include <ctype.h>
+#include <errno.h>
+#include <fcntl.h>
-/*Win32-only header
s
*/
+/*Win32-only header*/
#ifdef _WIN32
#include <io.h>
-#include <fcntl.h>
#endif
/*Hash size*/
@@
-239,7
+240,6
@@
static int is_file_readable(const CHAR *const filename)
{
if ((info.st_mode & S_IFMT) == S_IFDIR)
{
- FPUTS(T("IFMT == S_IFDIR"), stderr);
errno = EISDIR;
return 0;
}