summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-03-20 21:39:28 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-03-21 00:42:28 +0100
commit41266df7ae51f179f4a80f67a2eba896ba1fd7b2 (patch)
tree52103dcc63cd91c58b6f599ca7595b254549b3cb /examples
parentbd52db0b952d35ce793153e4a0c0b25f102a4395 (diff)
Remove unnecessary system includes from public headers
Add includes of system headers in the implementation files where necessary.
Diffstat (limited to 'examples')
-rw-r--r--examples/OpenGL3-glut-test.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/OpenGL3-glut-test.cxx b/examples/OpenGL3-glut-test.cxx
index 81a22c211..75ff3b0d1 100644
--- a/examples/OpenGL3-glut-test.cxx
+++ b/examples/OpenGL3-glut-test.cxx
@@ -1,7 +1,7 @@
//
// Tiny OpenGL v3 + glut demo program for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2015 by Bill Spitzak and others.
+// Copyright 1998-2021 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -14,7 +14,6 @@
// https://www.fltk.org/bugs.php
//
-#include <stdio.h>
#if defined(__APPLE__)
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED 1
# include <OpenGL/gl3.h> // defines OpenGL 3.0+ functions
@@ -25,7 +24,8 @@
# include <GL/glew.h>
#endif
#include <FL/glut.H>
-
+#include <stdio.h>
+#include <stdlib.h>
// Globals
// Real programs don't use globals :-D