Allow wordexp to be used if available

This commit is contained in:
Eric Andersen 2001-03-09 19:45:26 +00:00
parent ce89871ff7
commit 3c7361f53a
3 changed files with 6 additions and 6 deletions

4
lash.c
View File

@ -61,8 +61,8 @@
#include <unistd.h>
#include <getopt.h>
#undef __GLIBC__
#undef __UCLIBC__
//#undef __GLIBC__
//#undef __UCLIBC__
#if ( (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) ) || defined (__UCLIBC__)
#include <wordexp.h>

4
sh.c
View File

@ -61,8 +61,8 @@
#include <unistd.h>
#include <getopt.h>
#undef __GLIBC__
#undef __UCLIBC__
//#undef __GLIBC__
//#undef __UCLIBC__
#if ( (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) ) || defined (__UCLIBC__)
#include <wordexp.h>

View File

@ -61,8 +61,8 @@
#include <unistd.h>
#include <getopt.h>
#undef __GLIBC__
#undef __UCLIBC__
//#undef __GLIBC__
//#undef __UCLIBC__
#if ( (__GLIBC__ >= 2) && (__GLIBC_MINOR__ >= 1) ) || defined (__UCLIBC__)
#include <wordexp.h>