aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nacl/glob.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-06-17 11:29:47 -0700
committerRoland McGrath <roland@hack.frob.com>2015-06-18 12:51:37 -0700
commitae9ef4d35e21370a5bc7d281fa85a5cec250b8c0 (patch)
tree24b27d4d6a9e645b4238a604073879aae3f3a9f1 /sysdeps/nacl/glob.c
parentd1ac55d89023f86a34e46e9f064746334014ae28 (diff)
downloadglibc-roland/nacl-debug-hack.zip
glibc-roland/nacl-debug-hack.tar.gz
glibc-roland/nacl-debug-hack.tar.bz2
Diffstat (limited to 'sysdeps/nacl/glob.c')
-rw-r--r--sysdeps/nacl/glob.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/nacl/glob.c b/sysdeps/nacl/glob.c
index 36d62e8..eda6e9e 100644
--- a/sysdeps/nacl/glob.c
+++ b/sysdeps/nacl/glob.c
@@ -16,11 +16,11 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#include <unistd.h> /* Declares getlogin_r. */
+#include <unistd.h> /* Declares __getlogin_r. */
/* We do not have getlogin_r in the library at all for NaCl.
Define it away so the glob code does not try to use it. */
-#define getlogin_r(name, len) (ENOSYS)
+#define __getlogin_r(name, len) (ENOSYS)
/* Fetch the version that defines glob64 as an alias. */
#include <sysdeps/wordsize-64/glob.c>