Index: abi/include/abi/cap.h
===================================================================
--- abi/include/abi/cap.h	(revision 5a5269df4bb8693ab8e38af0622b7fa6365b9535)
+++ abi/include/abi/cap.h	(revision a3f63ac154a8851b99a2cdc01fb73050f4b9ca43)
@@ -39,8 +39,4 @@
 #include <stdint.h>
 
-enum {
-	CAP_NIL = 0,
-};
-
 typedef void *cap_handle_t;
 
@@ -56,4 +52,6 @@
 typedef struct {
 } *cap_waitq_handle_t;
+
+static cap_handle_t const CAP_NIL = 0;
 
 static inline bool cap_handle_valid(cap_handle_t handle)
