[build] Avoid strict-aliasing warnings when building with gcc 4.4
[people/lynusvaz/gpxe.git] / src / include / gpxe / socket.h
index 582de4e..b683bed 100644 (file)
@@ -94,6 +94,6 @@ struct sockaddr {
         * family.
         */
        char pad[ SA_LEN - sizeof ( sa_family_t ) ];
-};
+} __attribute__ (( may_alias ));
 
 #endif /* _GPXE_SOCKET_H */