display: Remove _XOPEN_SOURCE definition

There is no gethostname call in this file.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/638
This commit is contained in:
Ting-Wei Lan 2019-06-24 00:03:52 +08:00 committed by Jonas Ådahl
parent 0185909ee3
commit 6055f04814

View File

@ -28,8 +28,6 @@
* The display is represented as a #MetaDisplay struct. * The display is represented as a #MetaDisplay struct.
*/ */
#define _XOPEN_SOURCE 600 /* for gethostname() */
#include "config.h" #include "config.h"
#include <stdlib.h> #include <stdlib.h>