[Mesa-dev] [PATCH 1/3] gbm: remove define _BSD_SOURCE

Emil Velikov emil.l.velikov at gmail.com
Sun May 1 12:48:10 UTC 2016


The build systems already add this as applicable. There's no need to
have this in the source file.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gbm/main/gbm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index c046b1a..a8da082 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -25,7 +25,6 @@
  *    Benjamin Franzke <benjaminfranzke at googlemail.com>
  */
 
-#define _BSD_SOURCE
 #define _DEFAULT_SOURCE
 
 #include <stddef.h>
-- 
2.8.0



More information about the mesa-dev mailing list