about summary refs log tree commit diff
path: root/assert/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'assert/assert.h')
-rw-r--r--assert/assert.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/assert/assert.h b/assert/assert.h
index 3f0d6a3ac1..3f0b55f866 100644
--- a/assert/assert.h
+++ b/assert/assert.h
@@ -22,8 +22,12 @@
 
 #ifdef	_ASSERT_H
 
-#undef	_ASSERT_H
-#undef	assert
+# undef	_ASSERT_H
+# undef	assert
+
+# ifdef	__USE_GNU
+#  undef assert_perror
+# endif
 
 #endif /* assert.h	*/