summaryrefslogtreecommitdiff
path: root/sys-apps/pv/files/pv-1.6.19-stddef-include.patch
blob: b28a1c8d063b855b057a66a5bf7fc6a2dda01236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
https://github.com/a-j-wood/pv/pull/1

From: Sam James <sam@gentoo.org>
Date: Wed, 8 Sep 2021 01:03:29 +0100
Subject: [PATCH] src/pv/number.c: add missing <stddef.h> include for NULL

--- a/src/pv/number.c
+++ b/src/pv/number.c
@@ -2,6 +2,8 @@
  * Functions for converting strings to numbers.
  */
 
+#include <stddef.h>
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif