You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by in...@apache.org on 2017/05/02 22:05:49 UTC

[32/50] [abbrv] hadoop git commit: HDFS-11724. libhdfs compilation is broken on OS X. Contributed by John Zhuge.

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/HDFS-10467
Commit: 343948ca795d20b0f77aa086f14e9a79d90a435b
Parents: 07b98e7
Author: John Zhuge <jz...@apache.org>
Authored: Sat Apr 29 11:04:50 2017 -0700
Committer: John Zhuge <jz...@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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org