On Linux no access to pre iso C varargs.h
authorPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 11:56:11 +0000 (11:56 +0000)
committerPeter Howkins <flibble@users.sourceforge.net>
Mon, 12 Mar 2012 11:56:11 +0000 (11:56 +0000)
cde/programs/dtlogin/dm.c

index d0cbd69199d7d984b62b61258ac316e547eb841f..717b0435e031bf60798d45ade3b81d53993009d6 100644 (file)
 # include      <time.h>
 # include      <utime.h>
 # include      <pwd.h>
+#if defined(linux)
+# include      <stdarg.h>
+#else
 # include      <varargs.h>
+#endif
 
 #if defined (SYSV) || defined (SVR4)
 #ifndef F_TLOCK