File gcal-3.01-glibc210.patch of Package gcal

Index: gcal-3.01/src/rc-defs.h
===================================================================
--- gcal-3.01.orig/src/rc-defs.h
+++ gcal-3.01/src/rc-defs.h
@@ -996,6 +996,8 @@ typedef
 #      include <sys/types.h>
 #    endif
 #    if HAVE_REGEX_H
+#include <stdio.h>
+#define __USE_GNU
 #      include <regex.h>
 #    endif
 #  endif
openSUSE Build Service is sponsored by