>There was a significant change in 2.0.96(not sure if it existed in prior >versions) that means that you have to define _GNU_SOURCE yourself so that >the getopt.h include file will define the struct option for getopt_long(). Yes, this was deliberate. It's not allowed for getopt.h to pollute the namespace unless you explicitly ask for it. p.