From: Khem Raj <raj.khem@gmail.com>
To: linux-xfs@vger.kernel.org
Cc: Khem Raj <raj.khem@gmail.com>
Subject: [PATCH 4/5] include limit.h for PATH_MAX
Date: Sat, 9 Sep 2017 17:30:34 -0700 [thread overview]
Message-ID: <20170910003035.14285-4-raj.khem@gmail.com> (raw)
In-Reply-To: <20170910003035.14285-1-raj.khem@gmail.com>
fixed
var.c:42:12: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'RAND_MAX'?
char path[PATH_MAX];`
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
dump/var.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dump/var.c b/dump/var.c
index 645caab..8156d37 100644
--- a/dump/var.c
+++ b/dump/var.c
@@ -16,6 +16,7 @@
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <limits.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>
--
2.14.1
next prev parent reply other threads:[~2017-09-10 0:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-10 0:30 [PATCH 1/5] Include fcntl.h for O_EXCL Khem Raj
2017-09-10 0:30 ` [PATCH 2/5] xfsdump: Use c99 defined [u]int*_t instead of double underscore integer types Khem Raj
2017-09-10 0:30 ` [PATCH 3/5] replace use of SIGCLD with SIGCHLD Khem Raj
2017-09-10 0:30 ` Khem Raj [this message]
2017-09-10 0:30 ` [PATCH 5/5] include sys/types.h for u_int32_t in attr/attributes.h Khem Raj
2017-09-10 16:30 ` [PATCH 1/5] Include fcntl.h for O_EXCL Eric Sandeen
2017-09-10 23:33 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170910003035.14285-4-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox