Add missing includes [for modern systems] to lndir.c
authorDavid Cantrell <dcantrell@redhat.com>
Thu, 23 Aug 2012 20:58:20 +0000 (16:58 -0400)
committerJon Trulson <jon@radscan.com>
Fri, 24 Aug 2012 02:39:46 +0000 (20:39 -0600)
cde/config/util/lndir.c

index 4e678ae8c1c0dbd2a1130f5bf03684b7d0dc9694..9dd676e27b851dcff59843ae802cff5efa5bc7ef 100644 (file)
@@ -63,9 +63,11 @@ in this Software without prior written authorization from The Open Group.
 #include <X11/Xos.h>
 #include <X11/Xfuncproto.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <sys/stat.h>
 #include <sys/param.h>
 #include <errno.h>
+#include <unistd.h>
 
 #ifndef X_NOT_POSIX
 #include <dirent.h>