title: Glut in Dev C++ error "redeclaration of C++ built-in type `short'"
body: <p>I have this simple triangle drawing code and it produces an error &quot;redeclaration of C++ built-in type short &quot;. But When I put <code>#include&lt;iostream.h&gt;</code> before <code>#include&lt;glut.h&gt;</code>, it compiles and runs.
  Can anyone explain the logic behind that?</p>
  <pre><code>#include&lt;glut.h&gt;
  void renderScene(void) {
  
      glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
  
      glBegin(GL_TRIANGLES);
          glVertex3f(-0.5,-0.5,0.0);
          glVertex3f(0.5,0.0,0.0);
          glVertex3f(0.0,0.5,0.0);
      glEnd();
  
          glutSwapBuffers();
  }
  
  int main(int argc, char **argv) {
  
      // init GLUT and create Window
      glutInit(&amp;argc, argv);
      glutInitDisplayMode(GLUT_DEPTH | GLUT_DOUBLE | GLUT_RGBA);
      glutInitWindowPosition(100,100);
      glutInitWindowSize(320,320);
      glutCreateWindow(&quot;My first program&quot;);
  
      // register callbacks
      glutDisplayFunc(renderScene);
  
      // enter GLUT event processing cycle
      glutMainLoop();
      
      return 1;
  }
  </code></pre>