define _GNU_SOURCE before include fnmatch.h, so that all

appropriate constants are defined.
                                        -owt
This commit is contained in:
Owen Taylor 1997-12-02 22:27:33 +00:00
parent 8fc5d3586a
commit 1ce708c570

View File

@ -20,6 +20,9 @@ Cambridge, MA 02139, USA. */
#endif
#include <errno.h>
/* Added for GTK. We need to make sure that all constants are defined
* to properly compile this file */
#define _GNU_SOURCE
#include "fnmatch.h"
#include <ctype.h>