Imported from ../bash-3.1.tar.gz.
[platform/upstream/bash.git] / lib / intl / dcigettext.c
index f6edb95..c7e696a 100644 (file)
@@ -134,6 +134,10 @@ extern int errno;
 
 /* @@ end of prolog @@ */
 
+#if defined (SHELL) && !defined (HAVE_GETCWD)
+#  define HAVE_GETCWD
+#endif
+
 #ifdef _LIBC
 /* Rename the non ANSI C functions.  This is required by the standard
    because some ANSI C functions will require linking with this object
@@ -417,6 +421,10 @@ static int enable_secure;
     }
 #endif
 
+#ifndef HAVE_RAISE
+#  define raise(x)     kill (getpid (), (x))
+#endif
+
 /* Get the function to evaluate the plural expression.  */
 #include "eval-plural.h"