view osdep/glob.h @ 14573:3df308b43c50

Make configure check for aalib dependency on libX11 if it fails without. Necessary to link against aalib from the OpenBSD ports tree. patch by Ian Lindsay <iml at formicary dot org>
author diego
date Sat, 22 Jan 2005 14:09:17 +0000
parents 14c92818ab75
children 08cac43f1e38
line wrap: on
line source

#include "../config.h"

#ifndef HAVE_GLOB
#ifdef __MINGW32__
typedef struct {
  size_t gl_pathc;
  char **gl_pathv;
  size_t gl_offs;
} glob_t;

void globfree(glob_t *pglob);

int  glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);

#endif
#endif