commit | 6917e6c2aed624aea146c68c35c6148c136e3dcc | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jul 02 16:46:34 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Jul 02 16:46:34 2014 -0700 |
tree | ac554851f78ae67b2926eeac1966befe57eb2899 | |
parent | ab4fc82315567a1400bb25af3f835f1b5d80a0fe [diff] [blame] |
Fix recv.cpp so it can build with clang. Change-Id: Iac3e676aa256837333240219bcadbdc31985b5dd
diff --git a/libc/bionic/recv.cpp b/libc/bionic/recv.cpp index 60f264d..061cd46 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) {