summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <pwithnall@gnome.org>2024-04-19 18:24:59 +0100
committerPhilip Withnall <pwithnall@gnome.org>2024-04-19 20:19:17 +0100
commitfe17fda2c3ff5fc3b73e933ef4cafd046d9f84ee (patch)
tree5b73f6591db93ee8369e829b08655e6eac697d13
parentda06a6f22ab8ca8c25b883808f9cf2d6a679ee12 (diff)
user: Stop defining _BSD_SOURCE
It’s deprecated as of glibc 2.20. See https://www.man7.org/linux/man-pages/man7/feature_test_macros.7.html. This fixes a compiler warning from `/usr/include/features.h`. Signed-off-by: Philip Withnall <pwithnall@gnome.org>
-rw-r--r--src/user.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/user.c b/src/user.c
index 1477392..b1cbc2e 100644
--- a/src/user.c
+++ b/src/user.c
@@ -22,8 +22,6 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#define _BSD_SOURCE
-
#include "config.h"
#include <stdlib.h>