Repository: hadoop
Updated Branches:
  refs/heads/trunk 07b98e783 -> 343948ca7


HDFS-11724. libhdfs compilation is broken on OS X. Contributed by John Zhuge.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/343948ca
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/343948ca
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/343948ca

Branch: refs/heads/trunk
Commit: 343948ca795d20b0f77aa086f14e9a79d90a435b
Parents: 07b98e7
Author: John Zhuge <jzh...@apache.org>
Authored: Sat Apr 29 11:04:50 2017 -0700
Committer: John Zhuge <jzh...@apache.org>
Committed: Mon May 1 13:37:55 2017 -0700

----------------------------------------------------------------------
 .../src/main/native/libhdfs/os/posix/thread_local_storage.c        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/343948ca/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/os/posix/thread_local_storage.c
----------------------------------------------------------------------
diff --git 
a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/os/posix/thread_local_storage.c
 
b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/os/posix/thread_local_storage.c
index 9faa594..e6b59d6 100644
--- 
a/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/os/posix/thread_local_storage.c
+++ 
b/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfs/os/posix/thread_local_storage.c
@@ -19,7 +19,7 @@
 #include "os/thread_local_storage.h"
 
 #include <jni.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <pthread.h>
 #include <stdio.h>
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to