]> code.delx.au - gnu-emacs/blobdiff - lib/careadlinkat.c
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
[gnu-emacs] / lib / careadlinkat.c
index d242ffaac7d1a6b5beda76aadc4ba0d7768e093b..f2f5da23a38f002cc911f85edf11754bf297656f 100644 (file)
@@ -1,6 +1,6 @@
 /* Read symbolic links into a buffer without size limitation, relative to fd.
 
-   Copyright (C) 2001, 2003-2004, 2007, 2009-2013 Free Software Foundation,
+   Copyright (C) 2001, 2003-2004, 2007, 2009-2015 Free Software Foundation,
    Inc.
 
    This program is free software: you can redistribute it and/or modify
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <limits.h>
 #include <string.h>
+#include <unistd.h>
 
 /* Define this independently so that stdint.h is not a prerequisite.  */
 #ifndef SIZE_MAX