terminal: Include config.h instead of defining _XOPEN_SOURCE
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 22 Aug 2013 05:13:17 +0000 (22:13 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 22 Aug 2013 05:13:17 +0000 (22:13 -0700)
clients/terminal.c

index 4df0abb..e298f9e 100644 (file)
@@ -20,7 +20,7 @@
  * OF THIS SOFTWARE.
  */
 
-#define _XOPEN_SOURCE 700 /* for strnlen, snprintf and wcwidth */
+#include <config.h>
 
 #include <stdbool.h>
 #include <stdint.h>