HADOOP-11974. Fix FIONREAD #include on Solaris (Alan Burlison via Colin P. McCabe)
This commit is contained in:
parent
bf89ddb9b8
commit
81f3644376
@ -678,6 +678,9 @@ Release 2.8.0 - UNRELEASED
|
|||||||
HADOOP-12045. Enable LocalFileSystem#setTimes to change atime.
|
HADOOP-12045. Enable LocalFileSystem#setTimes to change atime.
|
||||||
(Kazuho Fujii via cnauroth)
|
(Kazuho Fujii via cnauroth)
|
||||||
|
|
||||||
|
HADOOP-11974. Fix FIONREAD #include on Solaris (Alan Burlison via Colin P.
|
||||||
|
McCabe)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
HADOOP-11785. Reduce the number of listStatus operation in distcp
|
||||||
|
@ -31,7 +31,14 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/ioctl.h> /* for FIONREAD */
|
|
||||||
|
/* For FIONREAD */
|
||||||
|
#if defined(__sun)
|
||||||
|
#include <sys/filio.h>
|
||||||
|
#else
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user