$NetBSD$

--- h/pcctscfg.h.orig	1999-10-07 21:19:11.000000000 -0500
+++ h/pcctscfg.h
@@ -44,7 +44,7 @@
 /* should test __STDC__ for 1, but some compilers don't set value, just def */
 
 #ifndef __USE_PROTOS
-#ifdef __STDC__
+#if defined(__STDC__) || defined(__STDC_HOSTED__)
 #define __USE_PROTOS
 #endif
 #ifdef __cplusplus
@@ -335,7 +335,7 @@ void special_fopen_actions(char * s)
 #endif
 #endif
 
-#ifdef __STDC__
+#if defined(__STDC__) || defined(__STDC_HOSTED__)
 #ifndef PCCTS_USE_STDARG
 #define PCCTS_USE_STDARG
 #endif
