diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-06 06:52:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-06 06:52:57 +0000 |
commit | 626727d5e2c1f691a308ce30d70cf3d5998f4c53 (patch) | |
tree | 611b9fa6b8a42a175956122a38e7e90da42b04f6 /ext | |
parent | abf95952312f9cf679a3ebd0bb2f1758f1585f0f (diff) | |
parent | 7c7bf78e2115cf1c10624a9f40e98f0bff340218 (diff) | |
download | perl-626727d5e2c1f691a308ce30d70cf3d5998f4c53.tar.gz |
integrate cfgperl contents into mainline
p4raw-id: //depot/perl@3601
Diffstat (limited to 'ext')
-rw-r--r-- | ext/DynaLoader/dl_aix.xs | 2 | ||||
-rw-r--r-- | ext/DynaLoader/dl_next.xs | 1 | ||||
-rw-r--r-- | ext/DynaLoader/dl_rhapsody.xs | 1 | ||||
-rw-r--r-- | ext/DynaLoader/dl_vms.xs | 1 | ||||
-rw-r--r-- | ext/Socket/Socket.xs | 7 |
5 files changed, 11 insertions, 1 deletions
diff --git a/ext/DynaLoader/dl_aix.xs b/ext/DynaLoader/dl_aix.xs index 69fb7a7151..78e434303a 100644 --- a/ext/DynaLoader/dl_aix.xs +++ b/ext/DynaLoader/dl_aix.xs @@ -153,6 +153,7 @@ char *strerrorcpy(char *str, int err) { /* ARGSUSED */ void *dlopen(char *path, int mode) { + dTHX; register ModulePtr mp; static int inited; /* XXX threadead */ @@ -366,6 +367,7 @@ void *calloc(size_t ne, size_t sz) */ static int readExports(ModulePtr mp) { + dTHX; LDFILE *ldp = NULL; SCNHDR sh; LDHDR *lhp; diff --git a/ext/DynaLoader/dl_next.xs b/ext/DynaLoader/dl_next.xs index 114489ae0b..ec01d608f4 100644 --- a/ext/DynaLoader/dl_next.xs +++ b/ext/DynaLoader/dl_next.xs @@ -72,6 +72,7 @@ enum dyldErrorSource static void TranslateError (const char *path, enum dyldErrorSource type, int number) { + dTHX; char *error; unsigned int index; static char *OFIErrorStrings[] = diff --git a/ext/DynaLoader/dl_rhapsody.xs b/ext/DynaLoader/dl_rhapsody.xs index 76ecb05e95..223d7f68b5 100644 --- a/ext/DynaLoader/dl_rhapsody.xs +++ b/ext/DynaLoader/dl_rhapsody.xs @@ -64,6 +64,7 @@ enum dyldErrorSource static void TranslateError (const char *path, enum dyldErrorSource type, int number) { + dTHX; char *error; unsigned int index; static char *OFIErrorStrings[] = diff --git a/ext/DynaLoader/dl_vms.xs b/ext/DynaLoader/dl_vms.xs index 3640b0f64e..d83d532c50 100644 --- a/ext/DynaLoader/dl_vms.xs +++ b/ext/DynaLoader/dl_vms.xs @@ -228,6 +228,7 @@ dl_load_file(filespec, flags) char * filespec int flags PREINIT: + dTHX; char vmsspec[NAM$C_MAXRSS]; SV *reqSV, **reqSVhndl; STRLEN deflen; diff --git a/ext/Socket/Socket.xs b/ext/Socket/Socket.xs index 336e6c451a..c09c313d99 100644 --- a/ext/Socket/Socket.xs +++ b/ext/Socket/Socket.xs @@ -7,6 +7,9 @@ # include <sys/types.h> # endif # include <sys/socket.h> +# if defined(USE_SOCKS) && defined(I_SOCKS) +# include <socks.h> +# endif # ifdef MPE # define PF_INET AF_INET # define PF_UNIX AF_UNIX @@ -18,7 +21,9 @@ # ifdef I_NETINET_IN # include <netinet/in.h> # endif -# include <netdb.h> +# ifdef I_NETDB +# include <netdb.h> +# endif # ifdef I_ARPA_INET # include <arpa/inet.h> # endif |