52 lines
1.1 KiB
Diff
52 lines
1.1 KiB
Diff
strptime man page is incorrect
|
|
_GNU_SOURCE defines also _XOPEN_SOURCE
|
|
|
|
---
|
|
src/event.c | 2 +-
|
|
src/notify.c | 1 +
|
|
src/repair_action.c | 2 +-
|
|
3 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/src/event.c
|
|
+++ b/src/event.c
|
|
@@ -18,12 +18,12 @@
|
|
* Licence along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
+#define _GNU_SOURCE
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
-#define _XOPEN_SOURCE
|
|
#include <time.h>
|
|
#include <grp.h>
|
|
#include <sys/types.h>
|
|
--- a/src/notify.c
|
|
+++ b/src/notify.c
|
|
@@ -18,6 +18,7 @@
|
|
* Licence along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
+#define _GNU_SOURCE
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
--- a/src/repair_action.c
|
|
+++ b/src/repair_action.c
|
|
@@ -18,12 +18,12 @@
|
|
* Licence along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
+#define _GNU_SOURCE
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
-#define _XOPEN_SOURCE
|
|
#include <time.h>
|
|
#include <grp.h>
|
|
#include <sys/types.h>
|