AIX compatibility changes; clean up map initialization functions
[unix-history] / usr / src / usr.sbin / sendmail / src / queue.c
index f3ea45a..479bcb3 100644 (file)
 
 #ifndef lint
 #ifdef QUEUE
 
 #ifndef lint
 #ifdef QUEUE
-static char sccsid[] = "@(#)queue.c    6.56 (Berkeley) %G% (with queueing)";
+static char sccsid[] = "@(#)queue.c    6.57 (Berkeley) %G% (with queueing)";
 #else
 #else
-static char sccsid[] = "@(#)queue.c    6.56 (Berkeley) %G% (without queueing)";
+static char sccsid[] = "@(#)queue.c    6.57 (Berkeley) %G% (without queueing)";
 #endif
 #endif /* not lint */
 
 #endif
 #endif /* not lint */
 
-# include <sys/dir.h>
 # include <signal.h>
 # include <errno.h>
 # include <pwd.h>
 # include <signal.h>
 # include <errno.h>
 # include <pwd.h>
-# ifndef MAXNAMLEN
 # include <dirent.h>
 # include <dirent.h>
-# endif
 
 # ifdef QUEUE
 
 
 # ifdef QUEUE
 
@@ -540,7 +537,7 @@ static struct dir   dbuf;
 orderq(doall)
        bool doall;
 {
 orderq(doall)
        bool doall;
 {
-       register struct direct *d;
+       register struct dirent *d;
        register WORK *w;
        DIR *f;
        register int i;
        register WORK *w;
        DIR *f;
        register int i;