]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/posix/cuserid.c
update from main archive 961005
[thirdparty/glibc.git] / sysdeps / posix / cuserid.c
index 2fe535ea1da436d6ddf0520aa9f2d34cf781e281..140442fdee4f490f0bd606bb49205bed9aafd513 100644 (file)
@@ -16,9 +16,11 @@ License along with the GNU C Library; see the file COPYING.LIB.  If
 not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
+#include <pwd.h>
 #include <stdio.h>
 #include <string.h>
-#include <pwd.h>
+#include <unistd.h>
+#include <sys/types.h>
 
 /* Return the username of the caller.
    If S is not NULL, it points to a buffer of at least L_cuserid bytes