I checked that three times before posting. The code is: #include<glob.h> To check this using the computer (as apposed to risking human error,) I got rid of the code: struct glob_t globulation leaving behind the call to glob: glob(args, no glob_t passed) and got the response that I needed to pass glob a struct glob_t. -- View this message in context: http://gcc.1065356.n5.nabble.com/trouble-using-glob-and-wordexp-tp945091p945114.html Sent from the gcc - Help mailing list archive at Nabble.com.