summaryrefslogtreecommitdiff
path: root/missing/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/strftime.c')
-rw-r--r--missing/strftime.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/missing/strftime.c b/missing/strftime.c
index 4d3561c..313b9d0 100644
--- a/missing/strftime.c
+++ b/missing/strftime.c
@@ -35,16 +35,14 @@
* February 1994
*/
-#ifndef RUBY
+#include "config.h"
+
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <time.h>
-#endif
-#if defined(TM_IN_SYS_TIME) || ! defined(RUBY)
#include <sys/types.h>
#include <sys/time.h>
-#endif
/* defaults: season to taste */
#define SYSV_EXT 1 /* stuff in System V ascftime routine */