diff --git a/backend/dc240.h b/backend/dc240.h index 88fd872a2..03f829b5b 100644 --- a/backend/dc240.h +++ b/backend/dc240.h @@ -212,14 +212,14 @@ struct cam_dirent * in the following dir_buf structure - it has to match data read from * the camera. gcc does this with __attribute__ ((packed)) */ -#error +# error "Please port to this compiler." #endif struct dir_buf { SANE_Byte entries_msb PACKED; SANE_Byte entries_lsb PACKED; - struct cam_dirent entry[1000] __attribute__ ((packed)); + struct cam_dirent entry[1000] PACKED; }; struct cam_dirlist