summaryrefslogtreecommitdiff
path: root/gtk/testselection.c
diff options
context:
space:
mode:
authorShawn Amundson <amundson@src.gnome.org>1998-01-03 05:46:58 +0000
committerShawn Amundson <amundson@src.gnome.org>1998-01-03 05:46:58 +0000
commit8eb36ebbd560a048814890dd652449aac97e85ed (patch)
tree5c35b1df719abdd7c1e26c672aa8888b3b5ff606 /gtk/testselection.c
parent39f02b638bd69903f2ceaddb875e22f5f2edbf2b (diff)
downloadgdk-pixbuf-8eb36ebbd560a048814890dd652449aac97e85ed.tar.gz
Several portability fixes from Michael Callahan <callahan@xmission.com>
* Several portability fixes from Michael Callahan <callahan@xmission.com> including adding in missing #includes and adding void in function prototypes. -Shawn
Diffstat (limited to 'gtk/testselection.c')
-rw-r--r--gtk/testselection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/testselection.c b/gtk/testselection.c
index 6f33be989..15ea22573 100644
--- a/gtk/testselection.c
+++ b/gtk/testselection.c
@@ -16,6 +16,7 @@
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <string.h>
#include "gtk.h"
typedef enum {
@@ -35,7 +36,7 @@ typedef enum {
STRING,
TEXT,
WINDOW,
- LAST_SEL_TYPE,
+ LAST_SEL_TYPE
} SelType;
GdkAtom seltypes[LAST_SEL_TYPE];