freebsd-ports/mail/gensig/files/patch-sigparams.c
Alexander Leidinger f8d5006241 On -current there's a new header: printf.h. The port picks it up, but fails
because printf.h needs wchar.h. So:
 - include wchar.h
 - while I'm here include stdlib.h (for the prototype of exit())
2006-02-19 14:04:09 +00:00

18 lines
340 B
C

--- sigparams.c.orig Sun Feb 19 14:51:19 2006
+++ sigparams.c Sun Feb 19 14:52:31 2006
@@ -8,12 +8,15 @@
#ifdef HAVE_STDIO_H
#include <stdio.h>
#endif
+#include <stdlib.h>
#ifdef HAVE_TIME_H
#include <time.h>
#endif
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#endif
+
+#include <wchar.h>
#include "sigparams.h"
#include "util.h"