curl.h: on FreeBSD include sys/param.h instead of osreldate.h

Should things build on Playstation as well

Fixes #12107
Reported-by: Faraz Fallahi
Closes #12123
This commit is contained in:
Daniel Stenberg 2023-10-14 22:47:49 +02:00
parent 7f7fa2fd67
commit 0b6d9ac8d9
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -65,9 +65,9 @@
#include <stdio.h>
#include <limits.h>
#if (defined(__FreeBSD__) && (__FreeBSD__ >= 2)) || defined(__MidnightBSD__)
#if defined(__FreeBSD__) || defined(__MidnightBSD__)
/* Needed for __FreeBSD_version or __MidnightBSD_version symbol definition */
#include <osreldate.h>
#include <sys/param.h>
#endif
/* The include stuff here below is mainly for time_t! */