SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,17 @@
Index: src/misc.c
--- src/misc.c.orig
+++ src/misc.c
@@ -20,12 +20,9 @@
-#define _XOPEN_SOURCE /* Pull in strptime(3) from time.h */
-#define _BSD_SOURCE /* Compensate for _XOPEN_SOURCE to pull in strdup(3)
- * from string.h. */
-
#include <config.h>
#include <stdio.h>
#include <string.h>
+#include <strings.h>
#include <errno.h>
#include <stdlib.h>
#include <time.h>