summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c')
-rw-r--r--sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c
index 73c8b5e5bd..3f67b00cdb 100644
--- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c
+++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/getdents.c
@@ -17,7 +17,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
-#include <sys/types,h>
+#include <sys/types.h>
#define __KERNEL_DIRENT
struct kernel_dirent
@@ -27,6 +27,5 @@ struct kernel_dirent
unsigned short d_reclen;
char d_name[1];
};
-#endif
#include <sysdeps/unix/sysv/linux/getdents.c>