From fe85f14c52f7d5f758955922603963e2dca39c37 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sat, 4 Oct 2003 21:30:35 -0700 Subject: [PATCH] [PATCH] Documentation_vm_hugetlbfs.txt cleanup From: Maciej Soltysiak This changes the hugetlbfs examples actually being possible to compile. errno is being used while it's not included. (Acked by William Lee Irwin III ) --- Documentation/vm/hugetlbpage.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt index 55b3cc0efda3f..61ae09f49abc7 100644 --- a/Documentation/vm/hugetlbpage.txt +++ b/Documentation/vm/hugetlbpage.txt @@ -107,6 +107,7 @@ calls. Though the mount of filesystem will be required for using mmaps. #include #include #include +#include extern int errno; #define SHM_HUGETLB 04000 @@ -167,6 +168,7 @@ main() #include #include #include +#include #define FILE_NAME "/mnt/hugepagefile" #define LENGTH (256*1024*1024) -- 2.53.0