From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756338AbcHVSo2 (ORCPT ); Mon, 22 Aug 2016 14:44:28 -0400 Received: from mail.kapsi.fi ([217.30.184.167]:55717 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755634AbcHVShW (ORCPT ); Mon, 22 Aug 2016 14:37:22 -0400 From: Mikko Rapeli To: linux-kernel@vger.kernel.org Cc: Mikko Rapeli Subject: [PATCH v05 28/72] include/uapi/linux/packet_diag.h: include linux/netdevice.h Date: Mon, 22 Aug 2016 20:32:45 +0200 Message-Id: <1471890809-4383-29-git-send-email-mikko.rapeli@iki.fi> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> References: <1471890809-4383-1-git-send-email-mikko.rapeli@iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a02:8070:d18f:5c00:bc6b:5a80:6b8d:855c X-SA-Exim-Mail-From: mikko.rapeli@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes userspace compilation error: error: ‘MAX_ADDR_LEN’ undeclared here (not in a function) Signed-off-by: Mikko Rapeli --- include/uapi/linux/packet_diag.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/packet_diag.h b/include/uapi/linux/packet_diag.h index d08c63f..2a75e97 100644 --- a/include/uapi/linux/packet_diag.h +++ b/include/uapi/linux/packet_diag.h @@ -2,6 +2,7 @@ #define __PACKET_DIAG_H__ #include +#include struct packet_diag_req { __u8 sdiag_family; -- 2.8.1