Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 872607 Details for
Bug 832981
sys-power/suspend-1.0_p20200924 fails to compile: swsusp.h:61:9: error: unknown type name loff_t
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Missing #define _GNU_SOURCE
suspend-1.0_p20200924-lofft.patch (text/plain), 670 bytes, created by
noosfaira
on 2023-10-12 17:06:31 UTC
(
hide
)
Description:
Missing #define _GNU_SOURCE
Filename:
MIME Type:
Creator:
noosfaira
Created:
2023-10-12 17:06:31 UTC
Size:
670 bytes
patch
obsolete
>diff --git a/load.c b/load.c >index 6d1c6ed..adc0af5 100644 >--- a/load.c >+++ b/load.c >@@ -8,6 +8,7 @@ > * This file is released under the GPLv2. > */ > >+#define _GNU_SOURCE > #include "config.h" > #include <sys/types.h> > #include <sys/stat.h> >diff --git a/suspend.c b/suspend.c >index 479ce58..c82a85f 100644 >--- a/suspend.c >+++ b/suspend.c >@@ -9,6 +9,7 @@ > * > */ > >+#define _GNU_SOURCE > #include "config.h" > #include <sys/types.h> > #include <sys/stat.h> >diff --git a/swsusp.h b/swsusp.h >index 2aae184..8d22b92 100644 >--- a/swsusp.h >+++ b/swsusp.h >@@ -9,6 +9,7 @@ > * > */ > >+#define _GNU_SOURCE > #include <stdint.h> > #include <linux/fs.h> > #include <linux/suspend_ioctls.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 832981
:
764682
| 872607