Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/4719/?format=api
http://patches.dpdk.org/api/patches/4719/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1431518401-16315-2-git-send-email-pawelx.wodkowski@intel.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<1431518401-16315-2-git-send-email-pawelx.wodkowski@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1431518401-16315-2-git-send-email-pawelx.wodkowski@intel.com", "date": "2015-05-13T12:00:00", "name": "[dpdk-dev,v2,1/2] cmdline: fix missing include files", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "27373f41c570324ba9a53965d444173c4ec6d937", "submitter": { "id": 58, "url": "http://patches.dpdk.org/api/people/58/?format=api", "name": "Wodkowski, PawelX", "email": "pawelx.wodkowski@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1431518401-16315-2-git-send-email-pawelx.wodkowski@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/4719/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/4719/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 90FB15A38;\n\tWed, 13 May 2015 14:01:11 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 9F5C45A35\n\tfor <dev@dpdk.org>; Wed, 13 May 2015 14:01:10 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 13 May 2015 05:01:08 -0700", "from unknown (HELO stargo) ([10.217.248.233])\n\tby orsmga001.jf.intel.com with SMTP; 13 May 2015 05:01:06 -0700", "by stargo (sSMTP sendmail emulation);\n\tWed, 13 May 2015 14:01:34 +0200" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.13,420,1427785200\"; d=\"scan'208\";a=\"694243100\"", "From": "Pawel Wodkowski <pawelx.wodkowski@intel.com>", "To": "dev@dpdk.org", "Date": "Wed, 13 May 2015 14:00:00 +0200", "Message-Id": "<1431518401-16315-2-git-send-email-pawelx.wodkowski@intel.com>", "X-Mailer": "git-send-email 1.9.1", "In-Reply-To": "<1431518401-16315-1-git-send-email-pawelx.wodkowski@intel.com>", "References": "<1431429019-21130-1-git-send-email-pawelx.wodkowski@intel.com>\n\t<1431518401-16315-1-git-send-email-pawelx.wodkowski@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 1/2] cmdline: fix missing include files", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "When including only some of library headers some definitions\nare missing and build fails.\n\nSigned-off-by: Pawel Wodkowski <pawelx.wodkowski@intel.com>\n---\n lib/librte_cmdline/cmdline.h | 3 +++\n lib/librte_cmdline/cmdline_parse_ipaddr.h | 2 ++\n lib/librte_cmdline/cmdline_rdline.h | 1 +\n lib/librte_cmdline/cmdline_vt100.h | 2 ++\n 4 files changed, 8 insertions(+)", "diff": "diff --git a/lib/librte_cmdline/cmdline.h b/lib/librte_cmdline/cmdline.h\nindex 06ae086..9085ff6 100644\n--- a/lib/librte_cmdline/cmdline.h\n+++ b/lib/librte_cmdline/cmdline.h\n@@ -61,6 +61,9 @@\n #ifndef _CMDLINE_H_\n #define _CMDLINE_H_\n \n+#include <termios.h>\n+#include <cmdline_rdline.h>\n+\n #ifdef __cplusplus\n extern \"C\" {\n #endif\ndiff --git a/lib/librte_cmdline/cmdline_parse_ipaddr.h b/lib/librte_cmdline/cmdline_parse_ipaddr.h\nindex 296c374..46c6e1b 100644\n--- a/lib/librte_cmdline/cmdline_parse_ipaddr.h\n+++ b/lib/librte_cmdline/cmdline_parse_ipaddr.h\n@@ -61,6 +61,8 @@\n #ifndef _PARSE_IPADDR_H_\n #define _PARSE_IPADDR_H_\n \n+#include <netinet/in.h>\n+\n #ifdef __cplusplus\n extern \"C\" {\n #endif\ndiff --git a/lib/librte_cmdline/cmdline_rdline.h b/lib/librte_cmdline/cmdline_rdline.h\nindex ae6e24e..b9aad9b 100644\n--- a/lib/librte_cmdline/cmdline_rdline.h\n+++ b/lib/librte_cmdline/cmdline_rdline.h\n@@ -84,6 +84,7 @@\n * instance.\n */\n \n+#include <stdio.h>\n #include <cmdline_cirbuf.h>\n #include <cmdline_vt100.h>\n \ndiff --git a/lib/librte_cmdline/cmdline_vt100.h b/lib/librte_cmdline/cmdline_vt100.h\nindex b9840f6..963add8 100644\n--- a/lib/librte_cmdline/cmdline_vt100.h\n+++ b/lib/librte_cmdline/cmdline_vt100.h\n@@ -61,6 +61,8 @@\n #ifndef _CMDLINE_VT100_H_\n #define _CMDLINE_VT100_H_\n \n+#include <stdint.h>\n+\n #ifdef __cplusplus\n extern \"C\" {\n #endif\n", "prefixes": [ "dpdk-dev", "v2", "1/2" ] }{ "id": 4719, "url": "