From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34C2CFF8875 for ; Thu, 30 Apr 2026 11:31:02 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2261D40608; Thu, 30 Apr 2026 13:31:01 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mails.dpdk.org (Postfix) with ESMTP id E2C89402A0 for ; Thu, 30 Apr 2026 13:30:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1777548659; x=1809084659; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=11a8dlA9wKcz56D7rkL48+AQwBPH9Yr3548crYkd+AE=; b=KnPOlZqiU1dJyhXYpgEp3lh4w34BmCo+GB3M2waCVK3KPkDzVYLvYGGn y7CZHuOEaEkyd5WpCCaroYtEQdREXnVgkS6x8KxFDHXF6uY/eitQ+K7CF KyTZ2tkifpkMBhACWk9e2Gkwc9RbZbG0quCwOo/bDFLkdtp8gHlftzwl7 MvrsddJ/8WuVRjl8C84VdSnwmcRH3qJUiIi6TOY4lgAcXuRlyMut4jub9 GFBQ+7/yke2IH7LzBTaBeF7elRF1a8ac7r+L84tuhoPUFNX9dv37tKrXo Fsuw3DZHEpW6cse5UuOT0aZeKqknrMKjOsrAZui6fyA1DvYhMprPL691E w==; X-CSE-ConnectionGUID: WNMZY7FwTI2nCWvG420uXA== X-CSE-MsgGUID: OCAWkhbxQAakn+7p9R9lVA== X-IronPort-AV: E=McAfee;i="6800,10657,11771"; a="89872177" X-IronPort-AV: E=Sophos;i="6.23,208,1770624000"; d="scan'208";a="89872177" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Apr 2026 04:30:58 -0700 X-CSE-ConnectionGUID: VlioVdVdS8iyjFDlCE56Yw== X-CSE-MsgGUID: IckLudJhTySkV38DZ6zS6g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,208,1770624000"; d="scan'208";a="239559482" Received: from silpixa00401385.ir.intel.com (HELO localhost.ger.corp.intel.com) ([10.20.227.128]) by orviesa005.jf.intel.com with ESMTP; 30 Apr 2026 04:30:57 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: Bruce Richardson Subject: [PATCH] buildtools/cmdline-gen: add more headers to generated file Date: Thu, 30 Apr 2026 12:30:53 +0100 Message-ID: <20260430113053.2397113-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org The generated cmdline header file output often uses uintXX_t types for parameters specified in the input file. Therefore include stdint.h so that the types are available for uses of the generated file without requiring the user to include the header in their C file. Although not strictly required, also include cmdline_socket.h too, to provide the "cmdline_stdin_new()" function. The standard cmdline.h only provides the more generic "cmdline_new()" function, which is less useful for many cases. Therefore, having the extra header include just makes things a little easier on the end-user. Signed-off-by: Bruce Richardson --- buildtools/dpdk-cmdline-gen.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildtools/dpdk-cmdline-gen.py b/buildtools/dpdk-cmdline-gen.py index 7dadded783..d87adcfca9 100755 --- a/buildtools/dpdk-cmdline-gen.py +++ b/buildtools/dpdk-cmdline-gen.py @@ -143,8 +143,11 @@ def process_commands(infile, hfile, cfile, ctxname): /* File autogenerated by {sys.argv[0]} */ #ifndef GENERATED_COMMANDS_H #define GENERATED_COMMANDS_H + +#include #include #include +#include #include #include #include -- 2.51.0