diff src/getopt.c @ 12561:e8314f98b870

[gaim-migrate @ 14880] Various changes as per SF #1384517. This should get us closer to working out of the box on IRIX, hopefully without breaking anything else. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 19 Dec 2005 12:48:13 +0000
parents 840a7d176754
children
line wrap: on
line diff
--- a/src/getopt.c	Mon Dec 19 11:54:17 2005 +0000
+++ b/src/getopt.c	Mon Dec 19 12:48:13 2005 +0000
@@ -31,6 +31,11 @@
 #include "config.h"
 #endif
 
+/* Alver says we need this for IRIX. */
+#if HAVE_STRING_H
+#include "string.h"
+#endif
+
 #ifdef __GNUC__
 #define alloca __builtin_alloca
 #else /* not __GNUC__ */