summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:18:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit2320b2144fcb1236c082278444e3c6df998e17ec (patch)
tree879bb402bca2d44eba5eb1571b2631c1830e6e72 /source3/lib/util.c
parent6edd8e95f1ed0ac398c84e4050357097087ae15f (diff)
downloadsamba-2320b2144fcb1236c082278444e3c6df998e17ec.tar.gz
build: Remove SMB_STRUCT_DIRENT define
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 88001cedc8a..b727f7b3d88 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1031,13 +1031,13 @@ libunwind_failed:
const char *readdirname(SMB_STRUCT_DIR *p)
{
- SMB_STRUCT_DIRENT *ptr;
+ struct dirent *ptr;
char *dname;
if (!p)
return(NULL);
- ptr = (SMB_STRUCT_DIRENT *)readdir(p);
+ ptr = (struct dirent *)readdir(p);
if (!ptr)
return(NULL);