Description: Define MAP_HUGETLB if we don't get it from the glibc headers.
Author: Adam Conrad <adconrad@ubuntu.com>
Forwarded: not-needed

--- libhugetlbfs-2.11.orig/hugetlbfs.h
+++ libhugetlbfs-2.11/hugetlbfs.h
@@ -26,6 +26,11 @@
 #ifndef _HUGETLBFS_H
 #define _HUGETLBFS_H
 
+/* If we didn't get this from glibc, define it ourselves: */
+#ifndef MAP_HUGETLB
+# define MAP_HUGETLB	0x40000
+#endif
+
 #define HUGETLBFS_MAGIC	0x958458f6
 
 long gethugepagesize(void);
