aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-07-02 16:46:34 -0700
committerElliott Hughes <enh@google.com>2014-07-02 16:46:34 -0700
commit6917e6c2aed624aea146c68c35c6148c136e3dcc (patch)
treeac554851f78ae67b2926eeac1966befe57eb2899
parentab4fc82315567a1400bb25af3f835f1b5d80a0fe (diff)
downloadandroid_bionic-6917e6c2aed624aea146c68c35c6148c136e3dcc.tar.gz
android_bionic-6917e6c2aed624aea146c68c35c6148c136e3dcc.tar.bz2
android_bionic-6917e6c2aed624aea146c68c35c6148c136e3dcc.zip
Fix recv.cpp so it can build with clang.
Change-Id: Iac3e676aa256837333240219bcadbdc31985b5dd
-rw-r--r--libc/bionic/recv.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/bionic/recv.cpp b/libc/bionic/recv.cpp
index 60f264d3d..061cd466f 100644
--- a/libc/bionic/recv.cpp
+++ b/libc/bionic/recv.cpp
@@ -26,6 +26,7 @@
* SUCH DAMAGE.
*/
+#undef _FORTIFY_SOURCE
#include <sys/socket.h>
ssize_t recv(int socket, void *buf, size_t len, int flags) {