mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
dca1739cb8
PR: 14877 Submitted by: Pedro F. Giffuni <pfgiffun@bachue.usc.unal.edu.co>
31 lines
619 B
Plaintext
31 lines
619 B
Plaintext
--- geci/scruteur.c.orig Tue May 27 05:13:53 1997
|
|
+++ geci/scruteur.c Wed Jan 13 19:34:54 1999
|
|
@@ -11,7 +11,16 @@
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
+#include <string.h>
|
|
#include <signal.h>
|
|
#include <netdb.h>
|
|
|
|
+#if defined(netbsd)
|
|
+#include <ieeefp.h>
|
|
+#endif
|
|
+
|
|
+#if defined(freebsd)
|
|
+#include <floatingpoint.h>
|
|
+#endif
|
|
+
|
|
#include "listes_chainees.h"
|
|
#include "utilitaires.h"
|
|
@@ -46,5 +55,9 @@
|
|
sigset_t set,oset;
|
|
#endif
|
|
-
|
|
+
|
|
+#if (defined(netbsd) || defined(freebsd)) && !defined(__alpha__)
|
|
+ fpsetmask(0);
|
|
+#endif
|
|
+
|
|
signal(SIGTERM,signal_arret_scruteur);
|
|
signal(SIGQUIT,signal_arret_scruteur);
|