summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/gpxe/uaccess.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gpxe/uaccess.h b/src/include/gpxe/uaccess.h
index 38853bfbc..05f89e031 100644
--- a/src/include/gpxe/uaccess.h
+++ b/src/include/gpxe/uaccess.h
@@ -21,4 +21,7 @@
#include <bits/uaccess.h>
+/** Equivalent of NULL for user pointers */
+#define UNULL ( ( userptr_t ) 0 )
+
#endif /* _GPXE_UACCESS_H */