aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/yow.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/lib-src/yow.c b/lib-src/yow.c
index 4efe8153415..e141b9141e2 100644
--- a/lib-src/yow.c
+++ b/lib-src/yow.c
@@ -10,9 +10,26 @@
10 * With dynamic memory allocation. 10 * With dynamic memory allocation.
11 */ 11 */
12 12
13#include "config.h"
13#include <stdio.h> 14#include <stdio.h>
14#include <ctype.h> 15#include <ctype.h>
15#include <../src/epaths.h> /* For PATH_DATA. */ 16#ifdef HAVE_STRING_H
17#include <string.h>
18#endif
19#ifdef TIME_WITH_SYS_TIME
20#include <sys/time.h>
21#include <time.h>
22#else
23#ifdef HAVE_SYS_TIME_H
24#include <sys/time.h>
25#else
26#include <time.h>
27#endif
28#endif
29#ifdef HAVE_UNISTD_H
30#include <unistd.h>
31#endif
32#include "epaths.h" /* For PATH_DATA. */
16 33
17#define BUFSIZE 80 34#define BUFSIZE 80
18#define SEP '\0' 35#define SEP '\0'
@@ -33,7 +50,9 @@
33 &res;}) 50 &res;})
34#endif 51#endif
35 52
36char *malloc(), *realloc(); 53#ifndef HAVE_STDLIB_H
54char *malloc __P ((size_t size))), *realloc __P ((POINTER_TYPE *ptr, size_t size));
55#endif
37 56
38void yow(); 57void yow();
39void setup_yow(); 58void setup_yow();