Border for texture map

How do you put a border to a texture map?

http://www.opengl.org/resources/code/samples/glut_examples/advanced/textile.c