aboutsummaryrefslogtreecommitdiff
path: root/security/l0pht-watch/files/patch-check_tmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/l0pht-watch/files/patch-check_tmp.h')
-rw-r--r--security/l0pht-watch/files/patch-check_tmp.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/security/l0pht-watch/files/patch-check_tmp.h b/security/l0pht-watch/files/patch-check_tmp.h
new file mode 100644
index 000000000000..0e7fff7b85ea
--- /dev/null
+++ b/security/l0pht-watch/files/patch-check_tmp.h
@@ -0,0 +1,31 @@
+--- check_tmp.h.orig Thu Dec 24 10:40:13 1998
++++ check_tmp.h Sun Aug 13 23:54:21 2000
+@@ -1,16 +1,23 @@
+ #ifndef __CHECK_TMP_H
+ #define __CHECK_TMP_H
+
+-#include <stdlib.h>
+-#include <stdio.h>
+ #include <sys/types.h>
++#include <sys/mman.h>
+ #include <sys/stat.h>
++#include <sys/param.h>
++#include <sys/ttycom.h>
+ #include <dirent.h>
+-#include <pwd.h>
+-#include <grp.h>
+ #include <fcntl.h>
+-#include <sys/mman.h>
++#include <grp.h>
++#include <pwd.h>
++#include <stdlib.h>
++#include <stdio.h>
+ #include <unistd.h>
++#if (__FreeBSD_version >= 500001) || (__FreeBSD_version >= 400019 && __FreeBSD_version < 500000)
++#include <sys/event.h>
++#include <sys/time.h>
++#include <err.h>
++#endif
+
+ #if defined (REGEXPR_3G)
+ #include <regexpr.h>