[Bug 342036] New: cannot include linux/if_ppp.h
https://bugzilla.novell.com/show_bug.cgi?id=342036 Summary: cannot include linux/if_ppp.h Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: sbrabec@novell.com QAContact: qa@suse.de CC: maw@novell.com Found By: --- When trying #include <linux/if_ppp.h> I get an error: /usr/include/linux/if_ppp.h:117: error: expected specifier-qualifier-list before 'aligned_u64' Using #include <linux/types.h> #include <linux/if_ppp.h> does not help. Using "#undef __KERNEL_STRICT_NAMES" is not possible in user space programs, as it will cause conflicts with sys/types.h. Work-around: #define aligned_u64 unsigned long long __attribute__((aligned(8))) #include <linux/if_ppp.h> This problem breaks gnome-applets. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342036 User jeffm@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=342036#c1 Jeff Mahoney <jeffm@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.provo.novell.com |pbaudis@novell.com --- Comment #1 from Jeff Mahoney <jeffm@novell.com> 2008-01-08 13:01:17 MST --- This is a problem in linux-kernel-headers. Assigning to the package maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=342036 User pbaudis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=342036#c2 Petr Baudis <pbaudis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Petr Baudis <pbaudis@novell.com> 2008-12-04 16:50:28 MST --- In 11.1, this works: #include <linux/types.h> #include <linux/ppp_defs.h> #include <linux/if.h> #include <linux/if_ppp.h> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com