> Figured it out.
struct foo { ... } _AT_ATTRIB_PACK_;
just make sure that you really want to do this, as it might lead to bad code from gcc under some architectures [http://www.digitalvampire.org/blog/articles/2006/07/31/why-you-shouldnt-use-__attribute__-packed] kind regards anupam -- In the beginning was the lambda, and the lambda was with Emacs, and Emacs was the lambda. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/