mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 04:49:17 -04:00
definition. Shadow the stdio prototype with a macro and undef it after including stdio.h Convert port to the USES framework Regenerate the patch-Make.pthread file using makepatch PR: 201444 Submitted by: winston@ml1.net (maintainer)
12 lines
244 B
C
12 lines
244 B
C
--- include/unix.h.orig 2015-07-13 22:14:41 UTC
|
|
+++ include/unix.h
|
|
@@ -11,7 +11,9 @@
|
|
#define _FILE_OFFSET_BITS 64
|
|
|
|
|
|
+#define fdclose sysfdclose
|
|
#include <stdio.h>
|
|
+#undef fdclose
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <math.h>
|