about summary refs log tree commit diff
path: root/include/argp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/argp.h')
-rw-r--r--include/argp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/argp.h b/include/argp.h
index 92be5f90f1..68138565ca 100644
--- a/include/argp.h
+++ b/include/argp.h
@@ -1 +1,9 @@
+#ifndef _ARGP_H
 #include <argp/argp.h>
+
+/* This hack to allow programs that know what's going on to call argp
+   recursively.  If someday argp is changed not to use the non-reentrant
+   getopt interface, we can get rid of this shit.  XXX */
+extern void _argp_unlock_xxx (void);
+
+#endif