summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2020-07-13 23:14:07 +0000
committerDaniel Golle2020-07-13 23:16:09 +0000
commit639df57cec10c7edeb585444c23f8a4565e46f4a (patch)
tree83ec8540abd49d0b32d6d701157933e87130450c
parentdacab12b301085eac00e84a94e42096de70886e8 (diff)
downloadprocd-639df57cec10c7edeb585444c23f8a4565e46f4a.tar.gz
uxc: fix build with uClibc-ng
Also here _GNU_SOURCE was missing. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--uxc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/uxc.c b/uxc.c
index a0a6706..13b4b8a 100644
--- a/uxc.c
+++ b/uxc.c
@@ -11,6 +11,10 @@
* GNU General Public License for more details.
*/
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
+#endif
+
#include <stdlib.h>
#include <stdbool.h>
#include <fcntl.h>