Support non-blocking pipe I/O in write() on native Windows.
[pspp] / lib / allocator.h
index e30732b605d1fc093bab0a93970ccbe1df1bcd8b..953117da83f55609da58fffef4c6b012909bfa89 100644 (file)
@@ -18,6 +18,7 @@
 /* Written by Paul Eggert.  */
 
 #ifndef _GL_ALLOCATOR_H
+#define _GL_ALLOCATOR_H
 
 #include <stddef.h>
 
@@ -50,4 +51,7 @@ struct allocator
   void (*die) (void);
 };
 
-#endif
+/* An allocator using the stdlib functions and a null DIE function.  */
+extern struct allocator const stdlib_allocator;
+
+#endif /* _GL_ALLOCATOR_H */