Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!emory!mephisto!mcnc!uvaarpa!mmdf From: gaspar@STL-08SIMA.ARMY.MIL (Al Gaspar) Newsgroups: comp.lang.perl Subject: dirent.h problem Message-ID: <1990Aug16.132555.20137@uvaarpa.Virginia.EDU> Date: 16 Aug 90 13:25:55 GMT Sender: mmdf@uvaarpa.Virginia.EDU (Uvaarpa Mail System) Reply-To: gaspar@STL-08SIMA.ARMY.MIL Organization: The Internet Lines: 28 I am trying to bring up perl 3.0; patchlevel 28 under SysVr3 on a UNISYS 5000/95. I have dirent.h and Configure has defined READDIR and I_DIRENT config.h. However, when I do a make the compile on perl.c fails with a syntax error on line 73 of stab.h. These are the relevant lines in that file: 72 #ifdef READDIR 73 DIR *dirp; /* for opendir, readdir, etc */ 74 #endif I presume that I am getting a syntax error because it doesn't know anything about a type "DIR". A struct DIR is typedefed in my file, which is included in my . The file is included before "stab.h" in perl.h and is dependent on I_DIRENT being defined and M_XENIX not being defined. That is all correct. Am I missing something here? Any suggestions would be appreciated. Cheers-- Al -- Al Gaspar USAMC SIMA, ATTN: AMXSI-TTC, Box 1578, St. Louis, MO 63188-1578 COMMERCIAL: (314) 331-4354 AUTOVON: 555-4354 uunet.uu.net!stl-08sima.army.mil!gaspar