[haiku-commits] haiku: hrev52655 - headers/compatibility/bsd

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 16 Dec 2018 21:02:12 -0500 (EST)

hrev52655 adds 1 changeset to branch 'master'
old head: 514bace91dd2696b5051e83f07617eafb019d5b3
new head: a41ed241d9bc03ea4f9f71ac22a4b2baa45a8de2
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=a41ed241d9bc+%5E514bace91dd2

----------------------------------------------------------------------------

a41ed241d9bc: headers/compatibility: Re-add missed _BSD_SOURCE guards to vis.h

                              [ Augustin Cavalier <waddlesplash@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev52655
Commit:      a41ed241d9bc03ea4f9f71ac22a4b2baa45a8de2
URL:         https://git.haiku-os.org/haiku/commit/?id=a41ed241d9bc
Author:      Augustin Cavalier <waddlesplash@xxxxxxxxx>
Date:        Mon Dec 17 02:01:03 2018 UTC

----------------------------------------------------------------------------

1 file changed, 6 insertions(+)
headers/compatibility/bsd/vis.h | 6 ++++++

----------------------------------------------------------------------------

diff --git a/headers/compatibility/bsd/vis.h b/headers/compatibility/bsd/vis.h
index cb331b8aae..d9d37281e6 100644
--- a/headers/compatibility/bsd/vis.h
+++ b/headers/compatibility/bsd/vis.h
@@ -35,6 +35,10 @@
 #ifndef _VIS_H_
 #define        _VIS_H_
 
+
+#ifdef _BSD_SOURCE
+
+
 #include <sys/types.h>
 
 /*
@@ -119,4 +123,6 @@ int unvis(char *, int, int *, int);
 #endif
 __END_DECLS
 
+#endif
+
 #endif /* !_VIS_H_ */


Other related posts:

  • » [haiku-commits] haiku: hrev52655 - headers/compatibility/bsd - waddlesplash