1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
freebsd-ports/security/super/files/patch-localsys.h
Dmitry Marakasov 23529091f4 - Add LICENSE_FILEs
- Switch to options helpers
- Regenerate patches with `make makepatch`
2016-07-28 09:00:54 +00:00

32 lines
572 B
C

--- localsys.h.orig 2007-12-20 19:14:53 UTC
+++ localsys.h
@@ -16,14 +16,14 @@
#ifndef LOCALSYS_H
#define LOCALSYS_H
-#include "config.h"
-
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
#include <pwd.h>
#include <grp.h>
+#include "config.h"
+
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
@@ -293,9 +293,11 @@ extern int sysinfo();
#include <unistd.h>
#endif
+#ifndef __FreeBSD__ /* FBSD has a malloc.h that tells people to obey C89. */
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
+#endif
#ifdef HAVE_SYSLOG_H
#include <syslog.h>