Motd reply fix.
[silc.git] / lib / contrib / regex.c
index 560639cc2b4e7302efb0c69921ff1893028e37d8..6aec4348a53293e10e6f1acfac8b6d311338021c 100644 (file)
   #pragma alloca
 #endif
 
+/*
 #ifndef _GNU_SOURCE
 #define _GNU_SOURCE
 #endif
+*/
 
 /* We need this for `regex.h', and perhaps for the Emacs include files.  */
 #include <sys/types.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
+/*
+ifdef HAVE_CONFIG_H
+##include "config.h"
 #endif
+*/
 
 /* The `emacs' switch turns on certain matching commands
    that make sense only in Emacs. */
 #include <strings.h>
 #endif
 
-#ifdef STDC_HEADERS
 #include <stdlib.h>
-#else
-char *malloc ();
-char *realloc ();
-#endif
-
 
 /* Define the syntax stuff for \<, \>, etc.  */